diff options
author | 2014-08-18 13:19:09 +0200 | |
---|---|---|
committer | 2014-08-22 14:45:49 -0700 | |
commit | 47e4df94d129cbca84de252ff63c4ded08a513e7 (patch) | |
tree | fbbdae22f891b0e9eb5fd26abe0890ca2762bd89 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | wireguard-linux-47e4df94d129cbca84de252ff63c4ded08a513e7.tar.xz wireguard-linux-47e4df94d129cbca84de252ff63c4ded08a513e7.zip |
mac80211: fix channel switch for chanctx-based drivers
The new_ctx pointer is set only for non-chanctx drivers. This yielded a
crash for chanctx-based drivers during channel switch finalization:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
IP: ieee80211_vif_use_reserved_switch+0x71c/0xb00 [mac80211]
Use an adequate chanctx pointer to fix this.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions