]> git.puffer.fish Git - mirror/frr.git/commit
Zebra: Fix replace route for uninstall scenario
authorvivek <vivek@cumulusnetworks.com>
Thu, 19 Nov 2015 20:48:02 +0000 (12:48 -0800)
committervivek <vivek@cumulusnetworks.com>
Thu, 19 Nov 2015 20:48:02 +0000 (12:48 -0800)
commit0b560feb23d1ca0d59cd427f0d1fefb4db7b3c2a
treedc7c1e5e6062391139ba76bcb68782d8f6672a99
parentdccc522572a41a2121f006f1fd9fa7c16493197d
Zebra: Fix replace route for uninstall scenario

When a Quagga route that is currently installed is superceded by a
kernel route (connected or static route to same destination), the
Quagga route is not uninstalled from the kernel. Fix by ensuring
this case is handled correctly.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-7152
Reviewed By: CCR-3476
Testing Done: Manual tests and verify failed test.

Fixes: Replace route implementation (IPv4 and IPv6)
zebra/zebra_rib.c