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)
commit393e52e33c6c26ec7db290dab803bac1bed962d4
tree54e93a35c98b994556724ad96a90871bfc38b3b4
parentbbd6ef87c544d88c30e4b762b1b61ef267a7d279
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