mirror_ubuntu-kernels/net/devlink
Jakub Kicinski 870c7ad4a5 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>
2023-01-06 12:56:18 +00:00
..
core.c devlink: update the code in netns move to latest helpers 2023-01-06 12:56:18 +00:00
devl_internal.h devlink: protect devlink->dev by the instance lock 2023-01-06 12:56:18 +00:00
leftover.c devlink: protect devlink->dev by the instance lock 2023-01-06 12:56:18 +00:00
Makefile devlink: split out netlink code 2023-01-05 22:13:39 -08:00
netlink.c devlink: protect devlink->dev by the instance lock 2023-01-06 12:56:18 +00:00