diff options
author | 2020-10-01 19:42:14 -0700 | |
---|---|---|
committer | 2020-10-02 13:36:07 -0700 | |
commit | a348292b63156290e72e2df2f724833607d1e403 (patch) | |
tree | 362508b6b5469f9d3b6731c3645956dc12f9a245 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: dsa: b53: Set untag_bridge_pvid (diff) | |
download | linux-dev-a348292b63156290e72e2df2f724833607d1e403.tar.xz linux-dev-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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions