aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/sme.c
diff options
context:
space:
mode:
authorVasyl Vavrychuk <vasyl.vavrychuk@globallogic.com>2018-10-18 01:02:12 +0300
committerJohannes Berg <johannes.berg@intel.com>2018-11-09 08:55:32 +0100
commita1881c9b8a1edef0a5ae1d5c1b61406fe3402114 (patch)
tree5dc6b515811491167255d0bfc43f17cc8714b0bb /net/wireless/sme.c
parentmac80211: fix missing unlock on error in ieee80211_mark_sta_auth() (diff)
downloadlinux-dev-a1881c9b8a1edef0a5ae1d5c1b61406fe3402114.tar.xz
linux-dev-a1881c9b8a1edef0a5ae1d5c1b61406fe3402114.zip
mac80211_hwsim: Timer should be initialized before device registered
Otherwise if network manager starts configuring Wi-Fi interface immidiatelly after getting notification of its creation, we will get NULL pointer dereference: BUG: unable to handle kernel NULL pointer dereference at (null) IP: [<ffffffff95ae94c8>] hrtimer_active+0x28/0x50 ... Call Trace: [<ffffffff95ae9997>] ? hrtimer_try_to_cancel+0x27/0x110 [<ffffffff95ae9a95>] ? hrtimer_cancel+0x15/0x20 [<ffffffffc0803bf0>] ? mac80211_hwsim_config+0x140/0x1c0 [mac80211_hwsim] Cc: stable@vger.kernel.org Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/sme.c')
0 files changed, 0 insertions, 0 deletions