]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Fix crash when dereferencing dest->selected_fib
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 29 Jan 2018 22:52:15 +0000 (17:52 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 29 Jan 2018 22:52:15 +0000 (17:52 -0500)
commit2eb07de3d633a4290719798409745a2d55227133
treee1b80f2737bd96e41413797468c08f6d50e57793
parent38c64469f3a0c8146ad5996f9de0846d26be1d02
zebra: Fix crash when dereferencing dest->selected_fib

When a rib_unlink() event is directly called for a
route_entry we need to see if the dest->selected_fib
is the same and just unset the dest->selected_fib.

This was happening for redistributed table 10 routes
into BGP.

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