summaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-03-13 16:01:38 -0700
committerDave Barach <openvpp@barachs.net>2019-03-14 12:27:04 +0000
commitfff68f7a5bab9be0fd9c431ba36a23458d817639 (patch)
tree4110a34b0606f72f261cf009266f309042351a9a /src/vcl/vppcom.c
parent4c2bff06d6919d5c3c77e4eeca9135ffc81eccd2 (diff)
vcl: fix coverity warning
Change-Id: I048276fd26e6e079ce31b9aeb1265f5d929f8540 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r--src/vcl/vppcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index bdc11319a7f..d5dabb65383 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -1810,9 +1810,9 @@ vcl_select_handle_mq_event (vcl_worker_t * wrk, session_event_t * e,
case SESSION_IO_EVT_RX:
sid = e->session_index;
session = vcl_session_get (wrk, sid);
- vcl_fifo_rx_evt_valid_or_break (session);
if (!session)
break;
+ vcl_fifo_rx_evt_valid_or_break (session);
if (sid < n_bits && read_map)
{
clib_bitmap_set_no_check ((uword *) read_map, sid, 1);