diff options
author | Phil Sutter <phil@nwl.cc> | 2013-08-02 11:37:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-02 14:58:32 -0700 |
commit | cbd89acb9eb257ed3b2be867142583fdcf7fdc5b (patch) | |
tree | 7dfaa72d8f217853bb840407a86a9d6b46146525 /kernel | |
parent | 0f75b09c798ed00c30d7d5551b896be883bc2aeb (diff) |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions