Make sure session has a tx fifo.
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ibde40645b401ca0255da298ea4ba691ee924a2d2
break;
session_events = s->vep.ev.events;
/* Generate EPOLLOUT because there's no connected event */
break;
session_events = s->vep.ev.events;
/* Generate EPOLLOUT because there's no connected event */
- if (!(EPOLLOUT & session_events))
+ if (!(EPOLLOUT & session_events) || !s->tx_fifo)
break;
/* We didn't have a fifo when the event was added */
svm_fifo_add_want_deq_ntf (
break;
/* We didn't have a fifo when the event was added */
svm_fifo_add_want_deq_ntf (