aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2022-02-15 22:47:22 +0200
committerJakub Kicinski <[email protected]>2022-02-16 20:35:35 -0800
commitc8620335951d38f26094877f83167dfd09074224 (patch)
treeae6bddea3dccfd8ea5d677274f6d1b534a36851b /tools/perf/scripts/python
parenta5e516d026cbfa3f36bd12e5bb39c33258795542 (diff)
net: dsa: tag_8021q: only call skb_push/skb_pull around __skb_vlan_pop
__skb_vlan_pop() needs skb->data to point at the mac_header, while skb_vlan_tag_present() and skb_vlan_tag_get() don't, because they don't look at skb->data at all. So we can avoid uselessly moving around skb->data for the case where the VLAN tag was offloaded by the DSA master. Signed-off-by: Vladimir Oltean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions