diff options
author | Jiri Pirko <[email protected]> | 2024-02-05 18:11:14 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-02-06 18:45:16 -0800 |
commit | 58086721b7781c3e35b19c9b78c8f5a791070ba3 (patch) | |
tree | 9b9fe7671a4a1b008d310d2b1405ca45ec248da1 /tools | |
parent | 1279f9d9dec2d7462823a18c29ad61359e0a007d (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