Skip to content

Commit 0e62f54

Browse files
ffainellidavem330
authored andcommitted
net: dsa: Fix duplicate frames flooded by learning
When both the switch and the bridge are learning about new addresses, switch ports attached to the bridge would see duplicate ARP frames because both entities would attempt to send them. Fixes: 5037d53 ("net: dsa: add Broadcom tag RX/TX handler") Reported-by: Maxime Bizon <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Reviewed-by: Vivien Didelot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 39a8f2a commit 0e62f54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/dsa/tag_brcm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ static struct sk_buff *brcm_tag_rcv_ll(struct sk_buff *skb,
140140
/* Remove Broadcom tag and update checksum */
141141
skb_pull_rcsum(skb, BRCM_TAG_LEN);
142142

143+
skb->offload_fwd_mark = 1;
144+
143145
return skb;
144146
}
145147
#endif

0 commit comments

Comments
 (0)