From 4089d7cf1b6eae3147a4088b76fbc246b7affb36 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 24 Sep 2024 23:37:40 -0700 Subject: session: set dgram mss when not constrained by transport Type: fix Change-Id: I12ddcd56f2fecb504180cdc044a3b3c3d1db7e3c Signed-off-by: Florin Coras --- src/vnet/session/session_node.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index a6804f7882e..14b8005d5d0 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -1249,6 +1249,7 @@ session_tx_set_dequeue_params (vlib_main_t * vm, session_tx_context_t * ctx, } ASSERT (ctx->hdr.data_length > ctx->hdr.data_offset); len = ctx->hdr.data_length - ctx->hdr.data_offset; + ctx->sp.snd_mss = clib_min (ctx->sp.snd_mss, len); if (ctx->hdr.gso_size) { -- cgit 1.2.3-korg