mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12950 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c87f322f42
commit
a24fab9ae3
@ -18,7 +18,7 @@
|
||||
+ if (ret == NETDEV_TX_BUSY)
|
||||
+ ieee80211_dev_kfree_skb(&skb1);
|
||||
+
|
||||
+ if (ret != NETDEV_TX_OK) {
|
||||
+ else if (ret != NETDEV_TX_OK) {
|
||||
/* If queue dropped the packet because device was
|
||||
* too busy */
|
||||
vap->iv_devstats.tx_dropped++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user