aboutsummaryrefslogtreecommitdiff
path: root/fs/sysv/Kconfig
diff options
context:
space:
mode:
authorVladimir Oltean2022-02-15 22:47:22 +0200
committerJakub Kicinski2022-02-16 20:35:35 -0800
commitc8620335951d38f26094877f83167dfd09074224 (patch)
treeae6bddea3dccfd8ea5d677274f6d1b534a36851b /fs/sysv/Kconfig
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 <vladimir.oltean@nxp.com> Link: https://lore.kernel.org/r/20220215204722.2134816-1-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/sysv/Kconfig')
0 files changed, 0 insertions, 0 deletions