summaryrefslogtreecommitdiff
path: root/lib/xref.h
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2022-07-06 15:37:44 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2022-12-16 15:07:46 +0100
commitc6b38684bd040bdf6e2877f60eda7d8dc009ab87 (patch)
tree8089aed02c0d75a2c6373ca9f6d0f8d2164272f9 /lib/xref.h
parent667a4e92da1d789b5aa3da15c3f80d3f4658a53e (diff)
zebra: delete kernel routes using an interface with no more IPv4 address
When the last IPv4 address of an interface is deleted, Linux removes all routes using this interface without any Netlink advertisement. Routes that have a IPv4 nexthop are correctly removed from the FRR RIB. However, routes that only have an interface with no more IPv4 addresses as a nexthop remains in the FRR RIB. In this situation, among the routes that this particular interface nexthop: - remove from the zebra kernel routes - reinstall the routes that have been added from FRR. It is useful when the nexthop is for example a VRF interface. Add related test cases in the zebra_netlink topotest. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/xref.h')
0 files changed, 0 insertions, 0 deletions