bridge: suppress arp pkts on BR_NEIGH_SUPPRESS ports
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sat, 7 Oct 2017 05:12:38 +0000 (22:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 04:12:04 +0000 (21:12 -0700)
commit057658cb33fbf4d4309f01fe8845903b1cd07fad
tree348002eed28b529bc36a2e1e054b71d234848526
parent821f1b21cabb46827ce39ddf82e2789680b5042a
bridge: suppress arp pkts on BR_NEIGH_SUPPRESS ports

This patch avoids flooding and proxies arp packets
for BR_NEIGH_SUPPRESS ports.

Moves existing br_do_proxy_arp to br_do_proxy_suppress_arp
to support both proxy arp and neigh suppress.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_arp_nd_proxy.c
net/bridge/br_device.c
net/bridge/br_input.c
net/bridge/br_private.h