vlan: introduce __vlan_insert_tag helper which does not free skb
authorJiri Pirko <jiri@resnulli.us>
Wed, 19 Nov 2014 13:05:00 +0000 (14:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:20:17 +0000 (14:20 -0500)
commit15255a43e6c917813800702e100267046e240cc0
treef73ad8ba3f02b87a429dc1856ff5ef97f244b30b
parent5968250c868ceee680aa77395b24e6ddcae17d36
vlan: introduce __vlan_insert_tag helper which does not free skb

There's a need for helper which inserts vlan tag but does not free the
skb in case of an error.

Suggested-by: Pravin Shelar <pshelar@nicira.com>
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>
include/linux/if_vlan.h