From: Filip Tehlar Date: Mon, 4 Dec 2023 08:57:00 +0000 (+0100) Subject: http: fix coverity warning X-Git-Tag: v24.06-rc0~97 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=7521d6745a82ec6dc179decb34a1e76a5726ab4c;p=vpp.git http: fix coverity warning Type: fix Change-Id: I659a67293763a6035cfa64a4057ebf716fe93ab4 Signed-off-by: Filip Tehlar --- diff --git a/src/plugins/http/http.c b/src/plugins/http/http.c index 9cd1382aaa3..d404e734d48 100644 --- a/src/plugins/http/http.c +++ b/src/plugins/http/http.c @@ -779,7 +779,9 @@ state_cln_wait_method (http_conn_t *hc, transport_send_params_t *sp) } app_wrk = app_worker_get_if_valid (as->app_wrk_index); - app_worker_rx_notify (app_wrk, as); + if (app_wrk) + app_worker_rx_notify (app_wrk, as); + return HTTP_SM_STOP; }