neighbour: Support broadcast ARP in neighbor PROPE state
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest1 patch 18 repliesIn review
Changes in v2 from the cover letter
set ARP_PROBE_BCAST default N.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | neighbour: Support broadcast ARP in neighbor PROPE stateinclude/ include/ include/ +4 more | +121 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Yang Shi |
|---|---|
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/1] neighbour: Support broadcast ARP in neighbor PROPE state
V2:
set ARP_PROBE_BCAST default N.
V1:
Have a problem with an HP router at a certain location, which is configured to only answer to broadcast ARP requests. That cannot be changed.
The first ARP request the kernel sends out, is a broadcast request, which is fine, but after the reply, the kernel sends unicast requests, which will not get any replies.
The ARP entry will after some time enter STALE state, and if nothing is done it will time out, and be removed. This process takes to long, and I have been told that it is difficult to makes changes that will eventually remove it.
Have tried to change the state from STALE to INCOMPLETE, which failed, and then tried to change the state to PROBE which also failed.
The stack is only sending out unicasts, and never broadcast. Is there any way to get the stack to send out a broadcast ARP without having to wait for the entry to be removed?
I think the recommended behaviour in IPv6 is to send out 3 unicasts and if all fails, to send out broadcasts.
Zhu Yanjun (1):
neighbour: Support broadcast ARP in neighbor PROPE state
include/net/neighbour.h | 7 ++++++ include/uapi/linux/neighbour.h | 6 +++++ include/uapi/linux/sysctl.h | 3 +++ kernel/sysctl_binary.c | 3 +++ net/core/neighbour.c | 44 +++++++++++++++++++++++++++++--- net/ipv4/Kconfig | 57 ++++++++++++++++++++++++++++++++++++++++++ net/ipv4/arp.c | 7 ++++-- 7 files changed, 121 insertions(+), 6 deletions(-)
Signature · 1 line
1.9.1