Skip to content

ipv4: Invalidate neighbour for broadcast address upon address addition

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ipv4: Invalidate neighbour for broadcast address upon address additioninclude/net/arp.h net/ipv4/arp.c net/ipv4/fib_frontend.c+12 -31 replyApplied
2/2selftests: fib_test: Add a test case for IPv4 broadcast neighbourstools/testing/selftests/net/fib_tests.sh+57 -10 repliesApplied

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchWang Hai
1/2T-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] ipv4: Invalidate neighbour for broadcast address upon address addition

Patch #1 solves a recently reported issue [1]. See detailed description in the changelog.

Patch #2 adds a matching test case.

Targeting at net-next since as far as I can tell this use case never worked.

There are no regressions in fib_tests.sh with this change:

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

[1] https://lore.kernel.org/netdev/[email protected]/

Ido Schimmel (2):
ipv4: Invalidate neighbour for broadcast address upon address addition
selftests: fib_test: Add a test case for IPv4 broadcast neighbours

 include/net/arp.h                        |  1 +
 net/ipv4/arp.c                           |  9 +++-
 net/ipv4/fib_frontend.c                  |  5 +-
 tools/testing/selftests/net/fib_tests.sh | 58 +++++++++++++++++++++++-
 4 files changed, 69 insertions(+), 4 deletions(-)
Signature · 1 line
2.33.1