Re: [PATCH net v7] arp: Do not update neighbours from ARP in L2 multicast/broadcast frames

From: Star Chang

Date: Wed Nov 25 2026 - 00:54:27 EST


Thanks for the review.

> [Medium] Should these packets be consumed instead of dropped?

I chose to drop them because, with the knob set, ARP in L2 BMC frames
is rejected for neighbour learning, similar to how the IP paths drop
unicast packets in L2 BMC frames. But you have a point that ordinary
broadcast requests for other hosts would then show up as drops. I'm
fine with switching to consume_skb() or a specific drop reason if the
maintainers prefer.

> [Medium] ... changes the semantics of an existing IP-only knob

This is intended. With the knob set, ARP in L2 BMC frames is not trusted
for neighbour learning: a forged GARP or broadcast reply/request with
sip = gateway is exactly the attack. Ignoring announcements and arp_accept
for such frames follows from that, and the knob is opt-in
(drop_gratuitous_arp already drops GARP entirely).

The same applies to IPv4 link-local peers that broadcast their replies
(RFC 3927): exempting them would let an attacker forge those entries
again, so I'd rather keep it strict and document it, if wanted.