aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_packet.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-07-14 22:49:30 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-14 22:49:30 -0700
commitbc1d0411b804ad190cdadabac48a10067f17b9e6 (patch)
tree0a38da614b6bb46f2ffa2378aca25043a2b33a7c /include/linux/if_packet.h
parentvlan: Don't store VLAN tag in cb (diff)
downloadlinux-dev-bc1d0411b804ad190cdadabac48a10067f17b9e6.tar.xz
linux-dev-bc1d0411b804ad190cdadabac48a10067f17b9e6.zip
vlan: deliver packets received with VLAN acceleration to network taps
When VLAN header stripping is used, packets currently bypass packet sockets (and other network taps) completely. For locally existing VLANs, they appear directly on the VLAN device, for unknown VLANs they are silently dropped. Add a new function netif_nit_deliver() to deliver incoming packets to all network interface taps and use it in __vlan_hwaccel_rx() to make VLAN packets visible on the underlying device. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_packet.h')
0 files changed, 0 insertions, 0 deletions