net/core: Allow tagged VLAN packets to flow through VETH devices.
commite26158f99c3c79181eb3e314e898079565cc75fd
authorBen Greear <greearb@candelatech.com>
Thu, 21 Oct 2010 11:06:29 +0000 (21 04:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Nov 2010 19:00:15 +0000 (22 11:00 -0800)
treede424e69cb6541d3684a0f60761ed086f715e5f2
parent3f266b04185de51d8e6446eb1fccec3b5e7ce575
net/core: Allow tagged VLAN packets to flow through VETH devices.

[ Upstream commit d2ed817766987fd05e69b7da65d4861b38f1aa2a ]

When there are VLANs on a VETH device, the packets being transmitted
through the VETH device may be 4 bytes bigger than MTU.  A check
in dev_forward_skb did not take this into account and so dropped
these packets.

This patch is needed at least as far back as 2.6.34.7 and should
be considered for -stable.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/core/dev.c