Skip to content

Commit

Permalink
[ATM]: [br2684] if we free the skb, we should return 0
Browse files Browse the repository at this point in the history
From: "Jean-Denis Boyer" <jdboyer@mediatrix.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jean-Denis Boyer authored and David S. Miller committed Oct 7, 2005
1 parent 0f21ba7 commit 4f55cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/atm/br2684.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ static int br2684_start_xmit(struct sk_buff *skb, struct net_device *dev)
/* netif_stop_queue(dev); */
dev_kfree_skb(skb);
read_unlock(&devs_lock);
return -EUNATCH;
return 0;
}
if (!br2684_xmit_vcc(skb, brdev, brvcc)) {
/*
Expand Down

0 comments on commit 4f55cd1

Please sign in to comment.