aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2024-12-09 19:45:54 -0500
committerDave Wallace <dwallacelf@gmail.com>2024-12-12 02:34:32 +0000
commit504a7d1c93a2f73023d2552a49df0d6d43970830 (patch)
tree1a22cb292cf044788ce532ad30e080eb54268576
parent0f97947f3653fa0d5ad89fac34deb35d300d988f (diff)
session: disable fifo tuning on app close
Type: fix Change-Id: Id6aa410a75356ece1d114a2970f70cf32203997f Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r--src/vnet/session/session.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 8a9fc4b2371..be2c5dc4df7 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1577,6 +1577,9 @@ session_close (session_t * s)
* transport initiated closes, use a flag. */
s->flags |= SESSION_F_APP_CLOSED;
+ /* Disable fifo tuning when app closes */
+ s->flags &= ~SESSION_F_CUSTOM_FIFO_TUNING;
+
if (s->session_state >= SESSION_STATE_CLOSING)
{
/* Session will only be removed once both app and transport