Skip to content
Commit 57f89bfa authored by Ben Greear's avatar Ben Greear Committed by David S. Miller
Browse files

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: default avatarBen Greear <greearb@candelatech.com>
Reviewed-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ab889e66
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment