summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-07-28 14:45:34 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-29 14:21:02 +0300
commit974be75f250378a6913c7bb268adbfd9a76a6df9 (patch)
treecb2b3b35e874373212a372ab9e2dc31c60c03e04 /tools/perf/scripts/python
parent180a6a3ee60a7cb69ed1232388460644f6a21f00 (diff)
downloadlinux-974be75f250378a6913c7bb268adbfd9a76a6df9.tar.xz
netdevsim: fib: Add debugfs knob to simulate route deletion failure
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: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions