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 | d625fc88d3d0c2eb771b60ec9893073a10e3df1f (patch) | |
tree | 782f9fb905c317f525c81e786e96aa555f9d268b /package/madwifi/patches/372-queue_vif.patch | |
parent | 9220c452e5bf9f052bef0ec21ccffbd63f7bafdd (diff) | |
download | mtk-20170518-d625fc88d3d0c2eb771b60ec9893073a10e3df1f.zip mtk-20170518-d625fc88d3d0c2eb771b60ec9893073a10e3df1f.tar.gz mtk-20170518-d625fc88d3d0c2eb771b60ec9893073a10e3df1f.tar.bz2 |
madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability
SVN-Revision: 12950
Diffstat (limited to 'package/madwifi/patches/372-queue_vif.patch')
-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 6fa86b9..83576c8 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++; |