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:
77100ef
)
ipsec: fix use-after-free
40/26540/2
author
Benoît Ganne
<bganne@cisco.com>
Thu, 16 Apr 2020 10:40:04 +0000
(12:40 +0200)
committer
Neale Ranns
<nranns@cisco.com>
Thu, 16 Apr 2020 17:16:36 +0000
(17:16 +0000)
Type: fix
Change-Id: I1068ff1d03883addb5fe1005a8b608eab17e4168
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vnet/ipsec/ipsec_tun.c
patch
|
blob
|
history
diff --git
a/src/vnet/ipsec/ipsec_tun.c
b/src/vnet/ipsec/ipsec_tun.c
index
268f778
..
23598b7
100644
(file)
--- a/
src/vnet/ipsec/ipsec_tun.c
+++ b/
src/vnet/ipsec/ipsec_tun.c
@@
-817,8
+817,8
@@
static void
ipsec_tun_protect_adj_delegate_adj_deleted (adj_delegate_t * ad)
{
/* remove our delegate */
- adj_delegate_remove (ad->ad_adj_index, ipsec_tun_adj_delegate_type);
ipsec_tun_protect_add_adj (ad->ad_adj_index, INDEX_INVALID);
+ adj_delegate_remove (ad->ad_adj_index, ipsec_tun_adj_delegate_type);
}
static void