diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-11 01:56:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-11 01:56:27 +0000 |
commit | a24fab9ae3e8589d8a0bab0395da5cb08a5ecc9f (patch) | |
tree | 0e20fcf6f37c35ab024efa7e395a2e09fb11ca07 | |
parent | c87f322f42ed9609f06b11be044d542dc090d167 (diff) | |
download | upstream-a24fab9ae3e8589d8a0bab0395da5cb08a5ecc9f.tar.gz upstream-a24fab9ae3e8589d8a0bab0395da5cb08a5ecc9f.tar.bz2 upstream-a24fab9ae3e8589d8a0bab0395da5cb08a5ecc9f.zip |
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
-rw-r--r-- | package/madwifi/patches/372-queue_vif.patch | 2 |
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++; |