]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: when suppression is enabled exclude RARP packets
authorNikolay Aleksandrov <nikolay@nvidia.com>
Mon, 22 Mar 2021 15:45:27 +0000 (17:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2021 20:30:24 +0000 (13:30 -0700)
commit06d378b286e79516536c8e807b5dbdd7c2ffc6fc
treeea72e73402717e0feac452d4e7d4e1db75a21c2a
parent544824b94b4c0a0015e70c36cf597941854bb79b
net: bridge: when suppression is enabled exclude RARP packets

Recently we had an interop issue where RARP packets got suppressed with
bridge neigh suppression enabled, but the check in the code was meant to
suppress GARP. Exclude RARP packets from it which would allow some VMWare
setups to work, to quote the report:
"Those RARP packets usually get generated by vMware to notify physical
switches when vMotion occurs. vMware may use random sip/tip or just use
sip=tip=0. So the RARP packet sometimes get properly flooded by the vtep
and other times get dropped by the logic"

Reported-by: Amer Abdalamer <amer@nvidia.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_arp_nd_proxy.c