aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2024-02-05 18:11:14 +0100
committerJakub Kicinski <[email protected]>2024-02-06 18:45:16 -0800
commit58086721b7781c3e35b19c9b78c8f5a791070ba3 (patch)
tree9b9fe7671a4a1b008d310d2b1405ca45ec248da1 /tools
parent1279f9d9dec2d7462823a18c29ad61359e0a007d (diff)
devlink: avoid potential loop in devlink_rel_nested_in_notify_work()
In case devlink_rel_nested_in_notify_work() can not take the devlink lock mutex. Convert the work to delayed work and in case of reschedule do it jiffie later and avoid potential looping. Suggested-by: Paolo Abeni <[email protected]> Fixes: c137743bce02 ("devlink: introduce object and nested devlink relationship infra") Signed-off-by: Jiri Pirko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions