]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: delete work timer
authorJohannes Berg <johannes.berg@intel.com>
Wed, 25 Aug 2010 12:47:38 +0000 (14:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Aug 2010 20:02:34 +0000 (16:02 -0400)
commitf80b492151fbfa7ba261487c163d2ef6f8f89e33
treef25daa4a50718b42ee8597a0b6b8c3ca86be7383
parent605a743e7ec6ca26e85fdae7cb2d5eeb940198cf
mac80211: delete work timer

The new workqueue changes helped me find this bug
that's been lingering since the changes to the work
processing in mac80211 -- the work timer is never
deleted properly. Do that to avoid having it fire
after all data structures have been freed. It can't
be re-armed because all it will do, if running, is
schedule the work, but that gets flushed later and
won't have anything to do since all work items are
gone by now (by way of interface removal).

Cc: stable@kernel.org [2.6.34+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c