diff options
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/session/session_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c index 8d82a7e4458..3ca3c2a2692 100644 --- a/src/vnet/session/session_api.c +++ b/src/vnet/session/session_api.c @@ -372,7 +372,8 @@ mq_send_session_bound_cb (u32 app_wrk_index, u32 api_context, eq_seg = session_main_get_evt_q_segment (); m.vpp_evt_q = fifo_segment_msg_q_offset (eq_seg, ls->thread_index); - if (session_transport_service_type (ls) == TRANSPORT_SERVICE_CL) + if (session_transport_service_type (ls) == TRANSPORT_SERVICE_CL && + ls->rx_fifo) { m.rx_fifo = fifo_segment_fifo_offset (ls->rx_fifo); m.tx_fifo = fifo_segment_fifo_offset (ls->tx_fifo); |