aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-01-24 03:37:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-01-30 17:41:35 -0500
commit489f4458cd98592d0bc527d4a5ac1c1393aaf254 (patch)
treea051e20f92bb9e67471940637a6dfba7c2cf946c /drivers/net
parent17ed081deed479702ee4896f6de40aa32ecd6644 (diff)
[PATCH] ipw2200: Fix a variable referenced after kfree() bug
Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ipw2200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index bc18bcbf7d1f..916b24c544e2 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -11124,8 +11124,8 @@ static void ipw_pci_remove(struct pci_dev *pdev)
11124 /* Free MAC hash list for ADHOC */ 11124 /* Free MAC hash list for ADHOC */
11125 for (i = 0; i < IPW_IBSS_MAC_HASH_SIZE; i++) { 11125 for (i = 0; i < IPW_IBSS_MAC_HASH_SIZE; i++) {
11126 list_for_each_safe(p, q, &priv->ibss_mac_hash[i]) { 11126 list_for_each_safe(p, q, &priv->ibss_mac_hash[i]) {
11127 kfree(list_entry(p, struct ipw_ibss_seq, list));
11128 list_del(p); 11127 list_del(p);
11128 kfree(list_entry(p, struct ipw_ibss_seq, list));
11129 } 11129 }
11130 } 11130 }
11131 11131