forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 ea08eeccae9297f7aabd2ef7f0c2517ac4549acc
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)) {