projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa150fc
)
net: wireless: bcmdhd: Fix memory poisoning in wl_free_wdev()
author
Dmitry Shmidt
<dimitrysh@google.com>
Fri, 24 Jun 2011 17:16:22 +0000
(10:16 -0700)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Fri, 24 Jun 2011 17:21:09 +0000
(10:21 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
index 4c20fddd38a9077deb14d2772ce0fd92c46d5d43..7181f2cb50b250285f79775a0ed9f34aecf0f03d 100644
(file)
--- a/
drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/
drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@
-3446,7
+3446,6
@@
static void wl_free_wdev(struct wl_priv *wl)
wiphy_unregister(wdev->wiphy);
wiphy_free(wdev->wiphy);
kfree(wdev);
- wl_to_wdev(wl) = NULL;
}
static s32 wl_inform_bss(struct wl_priv *wl)