diff options
author | Jiri Pirko <jiri@nvidia.com> | 2024-02-05 20:11:14 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-07 05:45:16 +0300 |
commit | 58086721b7781c3e35b19c9b78c8f5a791070ba3 (patch) | |
tree | 9b9fe7671a4a1b008d310d2b1405ca45ec248da1 /scripts/generate_rust_analyzer.py | |
parent | 1279f9d9dec2d7462823a18c29ad61359e0a007d (diff) | |
download | linux-58086721b7781c3e35b19c9b78c8f5a791070ba3.tar.xz |
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 <pabeni@redhat.com>
Fixes: c137743bce02 ("devlink: introduce object and nested devlink relationship infra")
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240205171114.338679-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions