From: Ben Greear Date: Fri, 11 Feb 2011 09:35:18 +0000 (+0000) Subject: network: Allow af_packet to transmit +4 bytes for VLAN packets. X-Git-Tag: v2.6.39-rc1~468^2~372 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f89bfa21403d902ee176ef988136b75d9ab30b;p=pandora-kernel.git 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 Reviewed-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed