]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Do not allow delete of route from kernel in non-startup case 1240/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 25 Sep 2017 16:28:39 +0000 (12:28 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 25 Sep 2017 16:28:39 +0000 (12:28 -0400)
commit5dfeba1904be75c2c8b89d319965755f4b6a4794
treef37fe9b375535f1559b7ce846669ec306adf7da6
parentc84ed8700efc07d66d2ea7373dcc2d9e116f1003
zebra: Do not allow delete of route from kernel in non-startup case

This is a continuation of 915902cb82cfd.  Basically the netlink
read of messages up from the kernel is now noticing the proper
owner of the route.  As such when rib_delete was being called
as part of the upcall from the kernel we were not noticing that
we were the originator and not diss-allowing the rib_delete
from happening.  This restores this behavior that we were getting
pre-915902cb82cfd

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/connected.c
zebra/kernel_socket.c
zebra/redistribute.c
zebra/rib.h
zebra/rt_netlink.c
zebra/zebra_rib.c
zebra/zserv.c