]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Refactor kernel_rtm to be a bit smarter about how it handles options
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 17 Dec 2018 23:21:38 +0000 (18:21 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 19 Dec 2018 13:58:33 +0000 (08:58 -0500)
commit86afd5292f1769c6c1c1db7a1e65f09fed27b87d
treeb8e86f8bacb30981dac401c0d431f830424f068b
parent08ea27d1121ef5989cdc54fb178c05a7efc4cd3e
zebra: Refactor kernel_rtm to be a bit smarter about how it handles options

The ADD/DELETE messages are the only ones we support, so leave
early from the function, in other words don't check it every
nexthop loop.

Additionally nexthops only care about non recursive active flags.

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