aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorNeil Horman <[email protected]>2012-03-15 05:25:58 +0000
committerDavid S. Miller <[email protected]>2012-03-16 23:00:20 -0700
commit124d37e9f088a8f56494b0264d63d22555f53fef (patch)
tree372cf065963b109c0df78964ec196488a570eba5 /net/lapb/lapb_subr.c
parent1aa9bc5b2f4cf8c48944fb9a607bf1dd674e2c10 (diff)
arp: allow arp processing to honor per interface arp_accept sysctl
I found recently that the arp_process function which handles all of our received arp frames, is using IPV4_DEVCONF_ALL macro to check the state of the arp_process flag. This seems wrong, as it implies that either none or all of the network interfaces accept gratuitous arps. This patch corrects that, allowing per-interface arp_accept configuration to deviate from the all setting. Note this also brings us into line with the way the arp_filter setting is handled during arp_process execution. Tested this myself on my home network, and confirmed it works as expected. Signed-off-by: Neil Horman <[email protected]> CC: "David S. Miller" <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions