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:
be0e482
)
tcp: free sack block list on connection cleanup
93/17793/2
author
Florin Coras
<
[email protected]
>
Fri, 22 Feb 2019 17:56:41 +0000
(09:56 -0800)
committer
Damjan Marion
<
[email protected]
>
Fri, 22 Feb 2019 20:44:42 +0000
(20:44 +0000)
Change-Id: I7152b4ae64528082765726d5844580aad54c0c70
Signed-off-by: Florin Coras <
[email protected]
>
src/vnet/tcp/tcp.c
patch
|
blob
|
history
diff --git
a/src/vnet/tcp/tcp.c
b/src/vnet/tcp/tcp.c
index
037abdc
..
a6047cf
100644
(file)
--- a/
src/vnet/tcp/tcp.c
+++ b/
src/vnet/tcp/tcp.c
@@
-223,6
+223,8
@@
tcp_connection_cleanup (tcp_connection_t * tc)
if (!tc->c_is_ip4 && ip6_address_is_link_local_unicast (&tc->c_rmt_ip6))
tcp_add_del_adjacency (tc, 0);
+ vec_free (tc->snd_sacks);
+
/* Poison the entry */
if (CLIB_DEBUG > 0)
clib_memset (tc, 0xFA, sizeof (*tc));