diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/session/session_node.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index 865c8b7a607..e1114b794e6 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -903,7 +903,8 @@ session_tx_fifo_read_and_snd_i (session_worker_t * wrk, { if (n_bufs) vlib_buffer_free (vm, wrk->tx_buffers, n_bufs); - session_evt_add_head_old (wrk, elt); + if (svm_fifo_set_event (ctx->s->tx_fifo)) + session_evt_add_head_old (wrk, elt); vlib_node_increment_counter (wrk->vm, node->node_index, SESSION_QUEUE_ERROR_NO_BUFFER, 1); return SESSION_TX_NO_BUFFERS; |