vlan: introduce *vlan_hwaccel_push_inside helpers

[ Upstream commit 5968250c86 ]

Use them to push skb->vlan_tci into the payload and avoid code
duplication.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Jiri Pirko 2014-11-19 14:04:59 +01:00 • committed by Sasha Levin
commit a67e2e8834
7 changed files with 51 additions and 44 deletions