summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2011-08-01 17:56:14 -0700
committerDavid S. Miller <davem@davemloft.net>2011-08-01 17:56:14 -0700
commita08af810cdc29d2ca930e8a869d3d01744c392d8 (patch)
tree6271e1bdb3d9d54ccb612ddbfdc1b2d252fbbb13
parente1738bd9cecc5c867b0e2996470c1ff20f66ba79 (diff)
downloadlinux-exynos-a08af810cdc29d2ca930e8a869d3d01744c392d8.tar.gz
linux-exynos-a08af810cdc29d2ca930e8a869d3d01744c392d8.tar.bz2
linux-exynos-a08af810cdc29d2ca930e8a869d3d01744c392d8.zip
atm: br2864: sent packets truncated in VC routed mode
Reported-by: Pascal Hambourg <pascal@plouf.fr.eu.org> Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/atm/br2684.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/atm/br2684.c b/net/atm/br2684.c
index 2252c2085dac..52cfd0c3ea71 100644
--- a/net/atm/br2684.c
+++ b/net/atm/br2684.c
@@ -242,8 +242,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);