diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-01-05 12:57:14 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-01-05 12:59:53 +0300 |
commit | 753aacfd2e95df6a0caf23c03dc309020765bea9 (patch) | |
tree | d1f35e254b4cf620ceb0e3833ee19bcdb5aba36c /net/socket.c | |
parent | 35f432a03e41d3bf08c51ede917f94e2288fbe8c (diff) | |
download | linux-753aacfd2e95df6a0caf23c03dc309020765bea9.tar.xz |
nl80211: fix sched scan netlink socket owner destruction
A single netlink socket might own multiple interfaces *and* a
scheduled scan request (which might belong to another interface),
so when it goes away both may need to be destroyed.
Remove the schedule_scan_stop indirection to fix this - it's only
needed for interface destruction because of the way this works
right now, with a single work taking care of all interfaces.
Cc: stable@vger.kernel.org
Fixes: 93a1e86ce10e4 ("nl80211: Stop scheduled scan if netlink client disappears")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions