diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2021-12-13 13:03:56 +0000 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2022-03-07 19:45:39 +0000 |
commit | 7e647358af812d207004be00eef1d0396ab9f138 (patch) | |
tree | 83a7864ba5c8be38dea1feb8677f83f68273cecc /src/vnet/ipsec | |
parent | ec5371e3e31b7860d6b3996fd10420566a4377f2 (diff) |
linux-cp: handle ipv4 routes when interface is disabled
Type: improvement
Currently, when an interface is brought down administratively, IPv4
routes that resolve through that interface remain in the FIB. However,
the kernel removes those routes but doesn't send any notifications about
that. Desynchronization between the kernel and VPP happens.
With this change, when a notification received from the kernel
indicating that an interface was brought down, in addition to bringing
the VPP interface down, walk the IPv4 FIB bound to that interface and
remove any entries that resolve through that interface and were added
with one of the linux-cp FIB sources.
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: I0cd14bb63c9e6616ae1c5739b17c3bf33b186bc2
Diffstat (limited to 'src/vnet/ipsec')
0 files changed, 0 insertions, 0 deletions