linux/net/packet
Phil Sutter cbd89acb9e af_packet: fix for sending VLAN frames via packet_mmap
Since tpacket_fill_skb() parses the protocol field in ethernet frames'
headers, it's easy to see if any passed frame is a VLAN one and account
for the extended size.

But as the real protocol does not turn up before tpacket_fill_skb()
runs which in turn also checks the frame length, move the max frame
length calculation into the function.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-02 14:58:32 -07:00
..
af_packet.c af_packet: fix for sending VLAN frames via packet_mmap 2013-08-02 14:58:32 -07:00
diag.c sock_diag: allow to dump bpf filters 2013-04-29 13:21:30 -04:00
internal.h packet: account statistics only in tpacket_stats_u 2013-04-25 01:29:43 -04:00
Kconfig packet: Diag core and basic socket info dumping 2012-08-14 16:56:33 -07:00
Makefile packet: Diag core and basic socket info dumping 2012-08-14 16:56:33 -07:00