From: Felix Fietkau Date: Sat, 11 Oct 2008 01:56:27 +0000 (+0000) Subject: madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d625fc88d3d0c2eb771b60ec9893073a10e3df1f;p=openwrt%2Fstaging%2Fmkresin.git madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability SVN-Revision: 12950 --- 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++;