Skip to content

Commit

Permalink
atm: br2864: sent packets truncated in VC routed mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chas Williams authored and David S. Miller committed Aug 2, 2011
1 parent e1738bd commit a08af81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/atm/br2684.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a08af81

Please sign in to comment.