Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • net
  • mac80211
  • main.c
Find file Blame History Permalink
  • Christian Lamparter's avatar
    mac80211: cancel restart_work in ieee80211_unregister_hw · 258086a4
    Christian Lamparter authored Aug 22, 2010
    
    
    Unlike most other workqueue-tasks, the restart_work is
    not scheduled onto mac80211's private per-interface
    workqueue, but onto one of the system-wide workqueues.
    
    Therefore the mac80211-stack has to cancel any pending
    restarts, before destroying the shared device context
    and handing back the memory. Otherwise - under very
    unlucky circumstances - there could be a stale work-
    item left, because some other kernel component might
    have delayed the execution of ieee80211_restart_work
    for too long.
    
    Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    258086a4