From e50dc915e56b18a4d83fce08c095c1db2f20952f Mon Sep 17 00:00:00 2001 From: Aleksey Mikhaylov <98801830+ttaym@users.noreply.github.com> Date: Thu, 5 May 2022 15:02:14 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alexander Krizhanovsky --- fw/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fw/http.c b/fw/http.c index 7c8c1b8bd2..7ca9bed03b 100644 --- a/fw/http.c +++ b/fw/http.c @@ -1184,7 +1184,7 @@ tfw_http_conn_on_hold(TfwSrvConn *srv_conn) BUG_ON(!(TFW_CONN_TYPE(srv_conn) & Conn_Srv)); return ((req_sent && tfw_http_req_is_nip(req_sent)) - || test_bit(TFW_CONN_B_UNSCHED, &srv_conn->flags)); + || tfw_srv_conn_unscheduled(srv_conn)); } /*