]> git.karo-electronics.de Git - linux-beck.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)
commitf5a7fb88e1f82542ca14ba93a1d4fa35471c60ca
treee901a68ad66666d1566e9f0de7a358c43d117bec
parent8d463504c191c2126d097ac94fb258aabe6d3e62
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