diff options
author | Florin Coras <fcoras@cisco.com> | 2021-06-16 14:46:57 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2021-06-16 23:23:50 +0000 |
commit | 8eb8d50ecfd7507aae340cb05a0fb07a790e4303 (patch) | |
tree | 5799f08d5472c6093fc54a33288a4ae4f1567d6f /src/vcl/vcl_locked.c | |
parent | cba215dad3101c6b03483c5c40f806903de8460d (diff) |
vcl: fix fifo sharing
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Iec1fe8315a057214901250d5fb06d1c1e33dda46
Diffstat (limited to 'src/vcl/vcl_locked.c')
-rw-r--r-- | src/vcl/vcl_locked.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vcl/vcl_locked.c b/src/vcl/vcl_locked.c index ea22bcd22f5..6c606f6b0db 100644 --- a/src/vcl/vcl_locked.c +++ b/src/vcl/vcl_locked.c @@ -766,8 +766,7 @@ vls_share_session (vls_worker_t * vls_wrk, vcl_locked_session_t * vls) if (s->rx_fifo) { - svm_fifo_add_subscriber (s->rx_fifo, vcl_wrk->vpp_wrk_index); - svm_fifo_add_subscriber (s->tx_fifo, vcl_wrk->vpp_wrk_index); + vcl_session_share_fifos (s, s->rx_fifo, s->tx_fifo); } else if (s->session_state == VCL_STATE_LISTEN) { |