]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Fix route replace v4 semantics with new system route
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 29 Jul 2019 15:10:25 +0000 (11:10 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 29 Jul 2019 15:39:06 +0000 (11:39 -0400)
commitfe5f21af9f7f142da9bfaec56487a2426df1df98
treeebd9101293f83f05b12e864dc9e35e9c66379cf0
parent506fc1ad8ff9685c20c852afa9204796085a2b92
zebra: Fix route replace v4 semantics with new system route

When a new system route comes in and we have a pre-existing
non-system route we are not deleting the current system
route from the linux kernel.

Modify the code such that when a route replace is sent
to the kernel with a new route as a system route and
the old route as a non-system route do a delete of
the old route so it is no longer in the kernel.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_netlink.c