Skip to content

Commit a08af81

Browse files
Chas Williamsdavem330
authored andcommitted
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>
1 parent e1738bd commit a08af81

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎net/atm/br2684.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ static int br2684_xmit_vcc(struct sk_buff *skb, struct net_device *dev,
242242
if (brdev->payload == p_bridged) {
243243
skb_push(skb, 2);
244244
memset(skb->data, 0, 2);
245-
} else { /* p_routed */
246-
skb_pull(skb, ETH_HLEN);
247245
}
248246
}
249247
skb_debug(skb);

0 commit comments

Comments
 (0)