]> git.baikalelectronics.ru Git - kernel.git/commit
vlan: Introduce helper functions to check if skb is tagged
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Fri, 27 Mar 2015 05:31:11 +0000 (14:31 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 20:33:22 +0000 (13:33 -0700)
commite88f07c8416b57fd9ec36754ae3ee9b25e10007b
treee901a68ad66666d1566e9f0de7a358c43d117bec
parentbd3a33f629e2684132fb35a29491db304b338ae2
vlan: Introduce helper functions to check if skb is tagged

Separate the two checks for single vlan and multiple vlans in
netif_skb_features().  This allows us to move the check for multiple
vlans to another function later.

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
net/core/dev.c