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:
53f526b
)
MPLS: tunnel delete crash
73/17673/3
author
Neale Ranns
<nranns@cisco.com>
Tue, 19 Feb 2019 10:10:13 +0000
(
02:10
-0800)
committer
Neale Ranns
<nranns@cisco.com>
Thu, 28 Feb 2019 07:59:34 +0000
(07:59 +0000)
Change-Id: I4adf713f4a1d596b9c8a78b79b5df2c7eb0c56f0
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/mpls/mpls_tunnel.c
patch
|
blob
|
history
diff --git
a/src/vnet/mpls/mpls_tunnel.c
b/src/vnet/mpls/mpls_tunnel.c
index
ad61ac2
..
e70f428
100644
(file)
--- a/
src/vnet/mpls/mpls_tunnel.c
+++ b/
src/vnet/mpls/mpls_tunnel.c
@@
-245,6
+245,12
@@
mpls_tunnel_stack (adj_index_t ai)
if (NULL == mt)
return;
+ if (FIB_NODE_INDEX_INVALID == mt->mt_path_list)
+ {
+ adj_nbr_midchain_unstack(ai);
+ return;
+ }
+
/*
* while we're stacking the adj, remove the tunnel from the child list
* of the path list. this breaks a circular dependency of walk updates