neighbour: fix update of proxy neighbour
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | neighbour: restore protocol != 0 check in pneigh updatenet/ | +2 | 2 replies | Applied |
| 2/2 | selftests: rtnetlink: add neighbour update testtools/ | +55 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern | Kuniyuki Iwashima |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/2] neighbour: fix update of proxy neighbour
While re-reading some "old" patches I ran into a small change of behavior in commit dc2a27e524ac ("neighbour: Update pneigh_entry in pneigh_create().").
The old behavior was not consistent between ->protocol and ->flags, and didn't offer a way to clear protocol, so maybe it's better to change that (7-years-old [1]) behavior. But then we should change non-proxy neighbours as well to keep neigh/pneigh consistent.
[1] df9b0e30d44c ("neighbor: Add protocol attribute")
Sabrina Dubroca (2):
neighbour: restore protocol != 0 check in pneigh update
selftests: rtnetlink: add neighbour update test
net/core/neighbour.c | 3 +- tools/testing/selftests/net/rtnetlink.sh | 55 ++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-)
Signature · 1 line
2.51.2