diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-10-01 19:42:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-02 13:36:07 -0700 |
commit | a348292b63156290e72e2df2f724833607d1e403 (patch) | |
tree | 362508b6b5469f9d3b6731c3645956dc12f9a245 /net/dsa/slave.c | |
parent | 1c5ad5a940387ce03bc6b6ce497e3523963292bd (diff) | |
download | kernel_replicant_linux-a348292b63156290e72e2df2f724833607d1e403.tar.gz kernel_replicant_linux-a348292b63156290e72e2df2f724833607d1e403.tar.bz2 kernel_replicant_linux-a348292b63156290e72e2df2f724833607d1e403.zip |
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>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions