diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2017-03-14 16:48:23 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2017-03-14 17:34:49 +0900 |
commit | e0ecd277a4fcb406ea12de11ea54810d10b34440 (patch) | |
tree | c9a381b5982344175b6a09dd40aa7168a778e9d4 /README | |
parent | 5bebbd20229bfd80782eeb9e62387436091124eb (diff) | |
download | linux-exynos-accepted/tizen/mobile/20170316.101734.tar.gz linux-exynos-accepted/tizen/mobile/20170316.101734.tar.bz2 linux-exynos-accepted/tizen/mobile/20170316.101734.zip |
local/net: bcm4358: fix panic when unregistering p2p interfacesubmit/tizen/20170316.045621accepted/tizen/wearable/20170316.101819accepted/tizen/unified/20170316.101853accepted/tizen/tv/20170316.101804accepted/tizen/mobile/20170316.101734accepted/tizen/ivi/20170316.101834accepted/tizen/common/20170316.161713accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_common
When unregistering p2p interface, following kernel panic occurs:
BUG: failure at mm/slub.c:3413/kfree()!
Kernel panic - not syncing: BUG!
CPU: 1 PID: 2698 Comm: wpa_supplicant Not tainted 4.1.36-arm64-tm2 #1
...
[<ffffffc000a6bc78>] panic+0xf0/0x234
[<ffffffc00019cc1c>] show_slab_objects+0x0/0x264
[<ffffffc0009e2204>] nl80211_set_wowlan+0x748/0x81c
...
It is because kfree(wdev->wiphy->wowlan_config) is called from
cfg80211_rdev_free_wowlan(), but it is assigned with const struct
pointer from the commit c1cdee9f047f ("LOCAL / net: bcm4358: set
wowlan_config for broadcom driver"). So this patch fixes to assign
it with kmemdup.
Change-Id: Ia924d27d7f262dfd0b49d61ee0214f2ae24fb5c7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions