aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-02-20 14:23:36 +0100
committerPaolo Abeni <[email protected]>2023-02-21 13:02:42 +0100
commitf922c7b1c1c45740d329bf248936fdb78c0cff6e (patch)
tree40b2e426c910af8ea62517bf10d3b128364d3835 /tools/perf/scripts/python/Perf-Trace-Util
parentb60417a9f2b890a8094477b2204d4f73c535725e (diff)
sefltests: netdevsim: wait for devlink instance after netns removal
When devlink instance is put into network namespace and that network namespace gets deleted, devlink instance is moved back into init_ns. This is done as a part of cleanup_net() routine. Since cleanup_net() is called asynchronously from workqueue, there is no guarantee that the devlink instance move is done after "ip netns del" returns. So fix this race by making sure that the devlink instance is present before any other operation. Reported-by: Amir Tzin <[email protected]> Fixes: b74c37fd35a2 ("selftests: netdevsim: add tests for devlink reload with resources") Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Pavan Chebbi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions