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
  • Pedro Tammela's avatar
    net/sched: introduce ACT_P_BOUND return code · c2a67de9
    Pedro Tammela authored Dec 29, 2023
    
    
    Bound actions always return '0' and as of today we rely on '0'
    being returned in order to properly skip bound actions in
    tcf_idr_insert_many. In order to further improve maintainability,
    introduce the ACT_P_BOUND return code.
    
    Actions are updated to return 'ACT_P_BOUND' instead of plain '0'.
    tcf_idr_insert_many is then updated to check for 'ACT_P_BOUND'.
    
    Signed-off-by: default avatarPedro Tammela <pctammela@mojatatu.com>
    Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
    Link: https://lore.kernel.org/r/20231229132642.1489088-1-pctammela@mojatatu.com
    
    
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    c2a67de9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7