diff options
author | Florin Coras <fcoras@cisco.com> | 2024-09-24 23:37:40 -0700 |
---|---|---|
committer | Dave Barach <vpp@barachs.net> | 2024-09-25 15:46:31 +0000 |
commit | 4089d7cf1b6eae3147a4088b76fbc246b7affb36 (patch) | |
tree | d8552af5ed95eceeb66153bbc6f310003e593d80 | |
parent | f9b2e27b1d76780384865b8108379dc77f55f172 (diff) |
session: set dgram mss when not constrained by transport
Type: fix
Change-Id: I12ddcd56f2fecb504180cdc044a3b3c3d1db7e3c
Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r-- | src/vnet/session/session_node.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |