kernel: fix bridge proxyarp issue with some broken DHCP clients
authorFelix Fietkau <nbd@nbd.name>
Fri, 5 Jan 2024 10:58:15 +0000 (11:58 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 5 Jan 2024 11:54:49 +0000 (12:54 +0100)
commit49bde576794af27a7472965ef0124570dfbe9323
treeaa5c919aebe11e46ddc6b9ba3606e11d18b13bf8
parent51881b2eb910d4adc6109b8d5abf0b23635a92ff
kernel: fix bridge proxyarp issue with some broken DHCP clients

There are broken devices in the wild that handle duplicate IP address
detection by sending out ARP requests for the IP that they received from a
DHCP server and refuse the address if they get a reply.
When proxyarp is enabled, they would go into a loop of requesting an address
and then NAKing it again.

Fixes: https://github.com/openwrt/openwrt/issues/14309
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit c1ad78318c3e6421e60dd187477f38ca5f9a5752)
target/linux/generic/pending-5.15/151-net-bridge-do-not-send-arp-replies-if-src-and-target.patch [new file with mode: 0644]