]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use del_timer_sync for final sta cleanup timer deletion
authorJohannes Berg <johannes.berg@intel.com>
Thu, 13 Dec 2012 22:08:52 +0000 (23:08 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:00:00 +0000 (13:00 +0100)
commit5ad1b438c5c2eb050f1d9aed9fb68b8bc6ef17de
tree4e26b43c6eef23c7b02b6e2c32f86ad8f4571b54
parent3e0b8860b58a451941a647cca3d6f5525f86064f
mac80211: use del_timer_sync for final sta cleanup timer deletion

This is a very old bug, but there's nothing that prevents the
timer from running while the module is being removed when we
only do del_timer() instead of del_timer_sync().

The timer should normally not be running at this point, but
it's not clearly impossible (or we could just remove this.)

Cc: stable@vger.kernel.org
Tested-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c