Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L 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
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • net
  • core
  • dev.c
Find file BlameHistoryPermalink
  • Jakub Kicinski's avatar
    net: allow out-of-order netdev unregistration · faab39f6
    Jakub Kicinski authored Feb 15, 2022
    Sprinkle for each loops to allow netdevices to be unregistered
    out of order, as their refs are released.
    
    This prevents problems caused by dependencies between netdevs
    which want to release references in their ->priv_destructor.
    See commit d6ff94af ("vlan: move dev_put into vlan_dev_uninit")
    for example.
    
    Eric has removed the only known ordering requirement in
    commit c002496b
    
     ("Merge branch 'ipv6-loopback'")
    so let's try this and see if anything explodes...
    
    Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
    Reviewed-by: default avatarXin Long <lucien.xin@gmail.com>
    Link: https://lore.kernel.org/r/20220215225310.3679266-2-kuba@kernel.org
    
    
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    faab39f6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7