From: Florin Coras Date: Fri, 6 Jan 2023 19:38:49 +0000 (-0800) Subject: session: avoid dgram dequeues with no transport X-Git-Tag: v23.06-rc0~46 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=227660b9969410f29d6b3d14eba16be5f57fbffe;p=vpp.git session: avoid dgram dequeues with no transport Type: fix Signed-off-by: Florin Coras Change-Id: I1a3393b579caeb5dc25b60bc1b4a71706fb07051 --- diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index 150da259da6..f819ee6847d 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -1163,6 +1163,11 @@ session_tx_not_ready (session_t * s, u8 peek_data) return 2; } } + else + { + if (s->session_state == SESSION_STATE_TRANSPORT_DELETED) + return 2; + } return 0; }