[ATM]: [br2684] if we free the skb, we should return 0
authorJean-Denis Boyer <jdboyer@mediatrix.com>
Fri, 7 Oct 2005 20:44:35 +0000 (13:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Oct 2005 20:44:35 +0000 (13:44 -0700)
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>
net/atm/br2684.c

index 289956c4dd3e8c1bc1501e9ed429a3f2de272ce8..72f3f7b8de8012060c33f860322ecd227b45b877 100644 (file)
@@ -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)) {
                /*