MPLS tunnel; fix crash when deleting non-existant path 67/17167/2
authorNeale Ranns <nranns@cisco.com>
Wed, 30 Jan 2019 14:00:19 +0000 (06:00 -0800)
committerDamjan Marion <dmarion@me.com>
Wed, 30 Jan 2019 19:47:36 +0000 (19:47 +0000)
commit13b2ba2ad5527c8185dce368993a3877e7daf7a2
tree44e47257a4b6561d5b9a56880e68b8da91754b50
parent910d3694e8b22c9d14e5f2913d14ae149e184620
MPLS tunnel; fix crash when deleting non-existant path

in the case the tunnel is the only user of the shared path list
then removing its dependency removes the path list. hence lock the list

Change-Id: I18318441698ceac16715b1826266a7d19dcd76e1
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/plugins/abf/abf_policy.c
src/vnet/mpls/mpls_tunnel.c