]> git.baikalelectronics.ru Git - kernel.git/commit
packet: deliver VLAN TCI to userspace
authorPatrick McHardy <kaber@trash.net>
Tue, 15 Jul 2008 05:50:39 +0000 (22:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jul 2008 05:50:39 +0000 (22:50 -0700)
commita71c752b78f1ca17afaa42885c5a3253227fe56c
tree54e93a35c98b994556724ad96a90871bfc38b3b4
parent390e28448f6e1388f19dc10365bf392509acaf4c
packet: deliver VLAN TCI to userspace

Store the VLAN tag in the auxillary data/tpacket2_hdr so userspace can
properly deal with hardware VLAN tagging/stripping.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_packet.h
net/packet/af_packet.c