mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
Invoke netif_stop_queue and requeue skb if we run out of txbuf instances in the pool
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3191 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
7559e86881
commit
f1d15f48ce
@ -3221,6 +3221,8 @@ ath_hardstart(struct sk_buff *skb, struct net_device *dev)
|
|||||||
}
|
}
|
||||||
bf = ath_take_txbuf(sc);
|
bf = ath_take_txbuf(sc);
|
||||||
if (bf == NULL) {
|
if (bf == NULL) {
|
||||||
|
netif_stop_queue(dev);
|
||||||
|
requeue = 1;
|
||||||
goto hardstart_fail;
|
goto hardstart_fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user