From: Jean-Denis Boyer Date: Fri, 7 Oct 2005 20:44:35 +0000 (-0700) Subject: [ATM]: [br2684] if we free the skb, we should return 0 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f55cd105c38af4aa157804729d694f864fbc78a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [ATM]: [br2684] if we free the skb, we should return 0 From: "Jean-Denis Boyer" Signed-off-by: Chas Williams Signed-off-by: David S. Miller --- 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) /* netif_stop_queue(dev); */ dev_kfree_skb(skb); read_unlock(&devs_lock); - return -EUNATCH; + return 0; } if (!br2684_xmit_vcc(skb, brdev, brvcc)) { /*