]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: tag_dsa: Allow forwarding of redirected IGMP traffic
authorTobias Waldekranz <tobias@waldekranz.com>
Sat, 14 Nov 2020 23:45:56 +0000 (00:45 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Nov 2020 17:16:11 +0000 (09:16 -0800)
commit0a9239207b21ddbb8a273cc1c67d13cd8bee4edd
tree7525c0d7afb08e05bd1c047e9710d5ebfcb4e00a
parent57ed3f8b21a69df08c236ce57da7b5076e917938
net: dsa: tag_dsa: Allow forwarding of redirected IGMP traffic

When receiving an IGMP/MLD frame with a TO_CPU tag, the switch has not
performed any forwarding of it. This means that we should not set the
offload_fwd_mark on the skb, in case a software bridge wants it
forwarded.

This is a port of:

34cfec66c363 ("dsa: Allow forwarding of redirected IGMP traffic")

Which corrected the issue for chips using EDSA tags, but not for those
using regular DSA tags.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/tag_dsa.c