Merge branch 'ipv4-invalidate-broadcast-neigh-upon-address-addition'
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Feb 2022 11:44:30 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Feb 2022 11:44:30 +0000 (11:44 +0000)
commitdd3573487d9030e30c555cc6044f5d8652c66c6f
tree34d7b07801d3c76b019e3512581bc88d021a78ee
parent0f6938eb2ecc572896ef9ad11238eb2846dcaad3
parent25bd462fa42f58ca43c881b486726bb81be5aa2b
Merge branch 'ipv4-invalidate-broadcast-neigh-upon-address-addition'

Ido Schimmel says:

====================
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/55a04a8f-56f3-f73c-2aea-2195923f09d1@huawei.com/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>