diff options
author | Egil Hjelmeland <privat@egil-hjelmeland.no> | 2017-10-31 15:48:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 21:30:24 +0900 |
commit | f849772915e5501c25f69f4815daa8cd86194634 (patch) | |
tree | b545bef2c57085b3566c09ee6b0a8d95f3abad9d /drivers/nfc | |
parent | e9292f2c03851ef81bef38579a0ee9c42140e586 (diff) | |
download | blackbird-op-linux-f849772915e5501c25f69f4815daa8cd86194634.tar.gz blackbird-op-linux-f849772915e5501c25f69f4815daa8cd86194634.zip |
net: dsa: lan9303: lan9303_rcv set skb->offload_fwd_mark
The chip flood broadcast and unknown multicast frames.
On receive set skb->offload_fwd_mark to prevent the SW from flooding to the
same ports.
One exception: Because the ALR is set up to forward STP BPDUs only to CPU,
the SW bridge should flood STP BPDUs if local STP is not enabled.
This is archived by not setting skb->offload_fwd_mark on STP BPDUs.
Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions