summaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-11 01:56:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-11 01:56:27 +0000
commitc1fc2dd11eb3febaa96570aca5b4da2aa5d70663 (patch)
tree0e20fcf6f37c35ab024efa7e395a2e09fb11ca07 /package/madwifi
parent8f32d322ca729e22171c79900b354edfdcc3afd8 (diff)
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
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/372-queue_vif.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/372-queue_vif.patch b/package/madwifi/patches/372-queue_vif.patch
index 6fa86b988..83576c8e6 100644
--- a/package/madwifi/patches/372-queue_vif.patch
+++ b/package/madwifi/patches/372-queue_vif.patch
@@ -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++;