diff options
author | Chas Williams <chas@cmf.nrl.navy.mil> | 2011-08-01 20:56:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-01 20:56:14 -0400 |
commit | a08af810cdc29d2ca930e8a869d3d01744c392d8 (patch) | |
tree | 6271e1bdb3d9d54ccb612ddbfdc1b2d252fbbb13 | |
parent | e1738bd9cecc5c867b0e2996470c1ff20f66ba79 (diff) |
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.c | 2 |
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, | |||
242 | if (brdev->payload == p_bridged) { | 242 | if (brdev->payload == p_bridged) { |
243 | skb_push(skb, 2); | 243 | skb_push(skb, 2); |
244 | memset(skb->data, 0, 2); | 244 | memset(skb->data, 0, 2); |
245 | } else { /* p_routed */ | ||
246 | skb_pull(skb, ETH_HLEN); | ||
247 | } | 245 | } |
248 | } | 246 | } |
249 | skb_debug(skb); | 247 | skb_debug(skb); |