diff options
| author | Vladimir Oltean <[email protected]> | 2022-02-15 22:47:22 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-02-16 20:35:35 -0800 |
| commit | c8620335951d38f26094877f83167dfd09074224 (patch) | |
| tree | ae6bddea3dccfd8ea5d677274f6d1b534a36851b /tools/perf/scripts/python/bin | |
| parent | a5e516d026cbfa3f36bd12e5bb39c33258795542 (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/bin')
0 files changed, 0 insertions, 0 deletions