Unlock LISP source FIB if only default left
authorFlorin Coras <[email protected]>
Mon, 28 Nov 2016 06:33:01 +0000 (22:33 -0800)
committerFlorin Coras <[email protected]>
Mon, 28 Nov 2016 06:44:36 +0000 (22:44 -0800)
commitfeeebfe0197912a233acab7d3359dc3fc29bc1f9
treee217a2c2581cb0edc8169be76a158eaa2681217d
parentdc5252b17ad929725101d6436e040b8c2bc68aa3
Unlock LISP source FIB if only default left

If when removing a source route the LISP source FIB contains only the
default, remove the whole source FIB. Defaults are added when FIBs are
created so no forwarding entry depends on them.

Change-Id: I0dd5dc31d128d834ac3b92c962c4c68577aa7429
Signed-off-by: Florin Coras <[email protected]>
vnet/vnet/lisp-gpe/lisp_gpe_fwd_entry.c