net: dsa: tag_ocelot: use VLAN information from tagging header when available
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 8 Oct 2020 11:56:59 +0000 (14:56 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sun, 11 Oct 2020 18:19:04 +0000 (11:19 -0700)
commitea440cd2d9b2df64d77b0419fc1e4f53318d5e55
treea67922287cc705dacc64779a582dc1d75c391e82
parent70edfae15a327476fb40136da9316b23c938f737
net: dsa: tag_ocelot: use VLAN information from tagging header when available

When the Extraction Frame Header contains a valid classified VLAN, use
that instead of the VLAN header present in the packet.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/tag_ocelot.c