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 /tools/perf/scripts/python/exported-sql-viewer.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions