commit | a348292b63156290e72e2df2f724833607d1e403 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Oct 01 19:42:14 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 02 13:36:07 2020 -0700 |
tree | 362508b6b5469f9d3b6731c3645956dc12f9a245 | |
parent | 1c5ad5a940387ce03bc6b6ce497e3523963292bd [diff] |
net: dsa: Obtain VLAN protocol from skb->protocol Now that dsa_untag_bridge_pvid() is called after eth_type_trans() we are guaranteed that skb->protocol will be set to a correct value, thus allowing us to avoid calling vlan_eth_hdr(). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>