]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'bridge-prevent-unicast-arp-ns-packets-from-being-suppressed-by-bridge'
authorJakub Kicinski <kuba@kernel.org>
Thu, 10 Apr 2025 02:13:46 +0000 (19:13 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Apr 2025 02:13:46 +0000 (19:13 -0700)
commit330689f757a7b31794b9887788da679be2d03248
treea0f4c231521833a366aeb012c1553fa7ea1991d6
parent229671ac60e298b85c2644f52d7e487e9f487d06
parent0ffb594212a0175259084b6bdaf62181d42c0491
Merge branch 'bridge-prevent-unicast-arp-ns-packets-from-being-suppressed-by-bridge'

Amit Cohen says:

====================
bridge: Prevent unicast ARP/NS packets from being suppressed by bridge

Currently, unicast ARP requests/NS packets are replied by bridge when
suppression is enabled, then they are also forwarded, which results two
replicas of ARP reply/NA - one from the bridge and second from the target.

The purpose of ARP/ND suppression is to reduce flooding in the broadcast
domain, which is not relevant for unicast packets. In addition, the use
case of unicast ARP/NS is to poll a specific host, so it does not make
sense to have the switch answer on behalf of the host.

Forward ARP requests/NS packets and prevent the bridge from replying to
them.

Patch set overview:
Patch #1 prevents unicast ARP/NS packets from being suppressed by bridge
Patch #2 adds test cases for unicast ARP/NS with suppression enabled
====================

Link: https://patch.msgid.link/cover.1744123493.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>