aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-11-29 09:31:47 -0800
committerFlorin Coras <fcoras@cisco.com>2019-11-29 09:34:04 -0800
commitd3955fb119fc94b000ee2516721c4f6b5525c370 (patch)
tree743903a4e0da80c83749c8efe81daf831d592627 /src/vnet/session/session.c
parent3268a64d3c9e60d69b3b12d6c6bf1987394275d2 (diff)
session: no cleanup notification for forced deletes
Type: refactor Change-Id: Ib36cc3f1173d093e9050f9fecda343df2aa3dc1f Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session.c')
-rw-r--r--src/vnet/session/session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 06306a6eceb..4eb4f4abf7d 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1315,7 +1315,8 @@ session_transport_cleanup (session_t * s)
s->thread_index);
/* Since we called cleanup, no delete notification will come. So, make
* sure the session is properly freed. */
- session_free_w_fifos (s);
+ segment_manager_dealloc_fifos (s->rx_fifo, s->tx_fifo);
+ session_free (s);
}
/**