Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3268a64
)
session: no cleanup notification for forced deletes
01/23701/2
author
Florin Coras
<fcoras@cisco.com>
Fri, 29 Nov 2019 17:31:47 +0000
(09:31 -0800)
committer
Florin Coras
<fcoras@cisco.com>
Fri, 29 Nov 2019 17:34:04 +0000
(09:34 -0800)
Type: refactor
Change-Id: Ib36cc3f1173d093e9050f9fecda343df2aa3dc1f
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/session/session.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/session.c
b/src/vnet/session/session.c
index
06306a6
..
4eb4f4a
100644
(file)
--- 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);
}
/**