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
  • include
  • net
  • act_api.h
Find file BlameHistoryPermalink
  • Vlad Buslov's avatar
    net: sched: extend action ops with put_dev callback · 84a75b32
    Vlad Buslov authored Aug 10, 2018
    
    
    As a preparation for removing dependency on rtnl lock from rules update
    path, all users of shared objects must take reference while working with
    them.
    
    Extend action ops with put_dev() API to be used on net device returned by
    get_dev().
    
    Modify mirred action (only action that implements get_dev callback):
    - Take reference to net device in get_dev.
    - Implement put_dev API that releases reference to net device.
    
    Signed-off-by: default avatarVlad Buslov <vladbu@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    84a75b32
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7