From: Chas Williams Date: Tue, 2 Aug 2011 00:56:14 +0000 (-0700) Subject: atm: br2864: sent packets truncated in VC routed mode X-Git-Tag: v2.6.32.46~15 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ae2690d07d6f898892ea2427d4757fe21c64435d;p=linux-pvops.git atm: br2864: sent packets truncated in VC routed mode commit a08af810cdc29d2ca930e8a869d3d01744c392d8 upstream. Reported-by: Pascal Hambourg Signed-off-by: Chas Williams Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/atm/br2684.c b/net/atm/br2684.c index c9230c398697..be1c1d2cffd0 100644 --- a/net/atm/br2684.c +++ b/net/atm/br2684.c @@ -208,8 +208,6 @@ static int br2684_xmit_vcc(struct sk_buff *skb, struct net_device *dev, if (brdev->payload == p_bridged) { skb_push(skb, 2); memset(skb->data, 0, 2); - } else { /* p_routed */ - skb_pull(skb, ETH_HLEN); } } skb_debug(skb);