]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/reg.c
cfg80211: avoid freeing last_request while in flight
authorArik Nemtsov <arik@wizery.com>
Tue, 22 Apr 2014 03:39:34 +0000 (20:39 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Apr 2014 15:12:55 +0000 (17:12 +0200)
commitc888393b74968aa8795c94b8923a5061b5ce6dcc
tree4e158535df915c7b9f643701f386bbf03bb5182f
parent4f267c1198cf57fc9fc444c78649bca018cc63af
cfg80211: avoid freeing last_request while in flight

Avoid freeing the last request while it is being processed. This can
happen in some cases if reg_work is kicked for some reason while the
currently pending request is in flight.

Cc: Sander Eikelenboom <linux@eikelenboom.it>
Tested-by: Eliad Peller <eliad@wizery.com>
Tested-by: Colleen Twitty <colleen@cozybit.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c