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
  • drivers
  • net
  • netdevsim
  • fib.c
Find file BlameHistoryPermalink
  • Ido Schimmel's avatar
    netdevsim: fib: Add debugfs knob to simulate route deletion failure · 974be75f
    Ido Schimmel authored Jul 28, 2022
    
    
    The previous patch ("netdevsim: fib: Fix reference count leak on route
    deletion failure") fixed a reference count leak that happens on route
    deletion failure.
    
    Such failures can only be simulated by injecting slab allocation
    failures, which cannot be surgically injected.
    
    In order to be able to specifically test this scenario, add a debugfs
    knob that allows user space to fail route deletion requests when
    enabled.
    
    Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Reviewed-by: default avatarAmit Cohen <amcohen@nvidia.com>
    Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    974be75f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7