• Johannes Berg's avatar
    mac80211: delete work timer · 071249b1
    Johannes Berg authored
    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: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    071249b1
main.c 21.2 KB