aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-11 01:56:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-11 01:56:27 +0000
commitd625fc88d3d0c2eb771b60ec9893073a10e3df1f (patch)
tree782f9fb905c317f525c81e786e96aa555f9d268b /package
parent9220c452e5bf9f052bef0ec21ccffbd63f7bafdd (diff)
downloadupstream-d625fc88d3d0c2eb771b60ec9893073a10e3df1f.tar.gz
upstream-d625fc88d3d0c2eb771b60ec9893073a10e3df1f.tar.bz2
upstream-d625fc88d3d0c2eb771b60ec9893073a10e3df1f.zip
madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability
SVN-Revision: 12950
Diffstat (limited to 'package')
-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 6fa86b9884..83576c8e6c 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++;