summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/faraday
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2018-11-08 22:27:56 +0200
committerDavid S. Miller <davem@davemloft.net>2018-11-08 20:30:58 -0800
commit15180eca569bfe1d4d3edbe02da76d5345e773b5 (patch)
tree84e87daa69c53dae734279f99b40ef0d9b2a12ef /drivers/net/ethernet/faraday
parent960abf68d2023f0d0b08c6f5d05971630496cfb0 (diff)
net: ethernet: ti: cpsw: fix vlan mcast
At this moment, mcast addresses are added for real device only (reserved vlans for dual-emac mode), even if a mcast address was added for some vlan only, thus ALE doesn't have corresponding vlan mcast entries after vlan socket joined multicast group. So ALE drops vlan frames with mcast addresses intended for vlans and potentially can receive mcast frames for base ndev. That's not correct. So, fix it by creating only vlan/mcast entries as requested. Patch doesn't use any additional lists and is based on device mc address list and cpsw ALE table entries. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/faraday')
0 files changed, 0 insertions, 0 deletions