commit | 57f89bfa21403d902ee176ef988136b75d9ab30b | [log] [tgz] |
---|---|---|
author | Ben Greear <greearb@candelatech.com> | Fri Feb 11 09:35:18 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 11 21:26:32 2011 -0800 |
tree | 3ebee83312498997fdd4630acfe0cfccec84835c | |
parent | ab889e6607f6e3d52a76c5a43c8c4ad1d354da36 [diff] |
network: Allow af_packet to transmit +4 bytes for VLAN packets. This allows user-space to send a '1500' MTU VLAN packet on a 1500 MTU ethernet frame. The extra 4 bytes of a VLAN header is not usually charged against the MTU when other parts of the network stack is transmitting vlans... Signed-off-by: Ben Greear <greearb@candelatech.com> Reviewed-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>