vcl: clear ct rx event on right fifo 42/28342/2
authorFlorin Coras <fcoras@cisco.com>
Thu, 13 Aug 2020 07:17:51 +0000 (00:17 -0700)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 13 Aug 2020 14:21:43 +0000 (14:21 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I70bab0d86287c108c6dffda5c5b2f29277c15de1

src/vcl/vppcom.c

index d73c73b..1622409 100644 (file)
@@ -2198,7 +2198,7 @@ if (PREDICT_FALSE (svm_fifo_is_empty (_s->rx_fifo)))                      \
       }                                                                        \
     else if (svm_fifo_is_empty (_s->ct_rx_fifo))                       \
       {                                                                        \
-       svm_fifo_unset_event (_s->ct_rx_fifo);                          \
+       svm_fifo_unset_event (_s->rx_fifo); /* rx evts on actual fifo*/ \
        if (svm_fifo_is_empty (_s->ct_rx_fifo))                         \
          break;                                                        \
       }                                                                        \