net: move vlan pop/push functions into common code
authorJiri Pirko <jiri@resnulli.us>
Wed, 19 Nov 2014 13:05:02 +0000 (14:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:20:18 +0000 (14:20 -0500)
So it can be used from out of openvswitch code.
Did couple of cosmetic changes on the way, namely variable naming and
adding support for 8021AD proto.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found