hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/bonding/bond_alb.c
....@@ -656,10 +656,10 @@
656656 return NULL;
657657 arp = (struct arp_pkt *)skb_network_header(skb);
658658
659
- /* Don't modify or load balance ARPs that do not originate locally
660
- * (e.g.,arrive via a bridge).
659
+ /* Don't modify or load balance ARPs that do not originate
660
+ * from the bond itself or a VLAN directly above the bond.
661661 */
662
- if (!bond_slave_has_mac_rx(bond, arp->mac_src))
662
+ if (!bond_slave_has_mac_rcu(bond, arp->mac_src))
663663 return NULL;
664664
665665 if (arp->op_code == htons(ARPOP_REPLY)) {