]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commite468d141b993ec9e58bdf515ed32fd9eb4fccdd0
tree7525c0d7afb08e05bd1c047e9710d5ebfcb4e00a
parent72308ecbf33b145641aba61071be31a85ebfd92c
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:

1ed9ec9b08ad ("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