[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>
This commit is contained in:
Родитель
0f21ba7cc3
Коммит
4f55cd105c
|
@ -220,7 +220,7 @@ static int br2684_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||||
/* netif_stop_queue(dev); */
|
/* netif_stop_queue(dev); */
|
||||||
dev_kfree_skb(skb);
|
dev_kfree_skb(skb);
|
||||||
read_unlock(&devs_lock);
|
read_unlock(&devs_lock);
|
||||||
return -EUNATCH;
|
return 0;
|
||||||
}
|
}
|
||||||
if (!br2684_xmit_vcc(skb, brdev, brvcc)) {
|
if (!br2684_xmit_vcc(skb, brdev, brvcc)) {
|
||||||
/*
|
/*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче