diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-05 22:33:56 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-06 12:56:18 +0000 |
commit | 870c7ad4a52be2acff92d0355ca118654c7efece (patch) | |
tree | 17e94f028695b80ebf2dfcfc1e94a6b222cf070d /tools/perf/scripts/python | |
parent | 7a54a5195b2a877a972ec21a5ca415c1fc2aec61 (diff) |
devlink: protect devlink->dev by the instance lock
devlink->dev is assumed to be always valid as long as any
outstanding reference to the devlink instance exists.
In prep for weakening of the references take the instance lock.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions