aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Denis Boyer <jdboyer@mediatrix.com>2005-10-07 16:44:35 -0400
committerDavid S. Miller <davem@davemloft.net>2005-10-07 16:44:35 -0400
commit4f55cd105c38af4aa157804729d694f864fbc78a (patch)
tree39ca99d4d5c147bfd3432aceab80131d8b07ae1f
parent0f21ba7cc3320d33459ecb3f538f1a42040c29cd (diff)
[ATM]: [br2684] if we free the skb, we should return 0
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>
-rw-r--r--net/atm/br2684.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/br2684.c b/net/atm/br2684.c
index 289956c4dd3e..72f3f7b8de80 100644
--- a/net/atm/br2684.c
+++ b/net/atm/br2684.c
@@ -220,7 +220,7 @@ static int br2684_start_xmit(struct sk_buff *skb, struct net_device *dev)
220 /* netif_stop_queue(dev); */ 220 /* netif_stop_queue(dev); */
221 dev_kfree_skb(skb); 221 dev_kfree_skb(skb);
222 read_unlock(&devs_lock); 222 read_unlock(&devs_lock);
223 return -EUNATCH; 223 return 0;
224 } 224 }
225 if (!br2684_xmit_vcc(skb, brdev, brvcc)) { 225 if (!br2684_xmit_vcc(skb, brdev, brvcc)) {
226 /* 226 /*