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
  • linux
  • net
  • core
  • dev.c
Find file BlameHistoryPermalink
  • Jakub Kicinski's avatar
    net: transition netdev reg state earlier in run_todo · ae68db14
    Jakub Kicinski authored Feb 15, 2022
    
    
    In prep for unregistering netdevs out of order move the netdev
    state validation and change outside of the loop.
    
    While at it modernize this code and use WARN() instead of
    pr_err() + dump_stack().
    
    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-1-kuba@kernel.org
    
    
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    ae68db14
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7