mbox series

[net,0/2] ipv4: Two bug fixes

Message ID 20221204075045.3780097-1-idosch@nvidia.com (mailing list archive)
Headers show
Series ipv4: Two bug fixes | expand

Message

Ido Schimmel Dec. 4, 2022, 7:50 a.m. UTC
Two small fixes for bugs in IPv4 routing code.

A variation of the second bug was reported by an FRR 5.0 (released
06/18) user as this version was setting a table ID of 0 for the default
VRF, unlike iproute2 and newer FRR versions.

The first bug was discovered while fixing the second.

Both bugs are not regressions (never worked) and are not critical in my
opinion, so the fixes can be applied to net-next, if desired.

No regressions in other tests:

 # ./fib_tests.sh
 ...
 Tests passed: 191
 Tests failed:   0

Ido Schimmel (2):
  ipv4: Fix incorrect route flushing when source address is deleted
  ipv4: Fix incorrect route flushing when table ID 0 is used

 net/ipv4/fib_frontend.c                  |  3 ++
 net/ipv4/fib_semantics.c                 |  1 +
 tools/testing/selftests/net/fib_tests.sh | 37 ++++++++++++++++++++++++
 3 files changed, 41 insertions(+)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 7, 2022, 4:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Sun,  4 Dec 2022 09:50:43 +0200 you wrote:
> Two small fixes for bugs in IPv4 routing code.
> 
> A variation of the second bug was reported by an FRR 5.0 (released
> 06/18) user as this version was setting a table ID of 0 for the default
> VRF, unlike iproute2 and newer FRR versions.
> 
> The first bug was discovered while fixing the second.
> 
> [...]

Here is the summary with links:
  - [net,1/2] ipv4: Fix incorrect route flushing when source address is deleted
    https://git.kernel.org/netdev/net/c/f96a3d74554d
  - [net,2/2] ipv4: Fix incorrect route flushing when table ID 0 is used
    https://git.kernel.org/netdev/net/c/c0d999348e01

You are awesome, thank you!