diff options
| author | 2022-07-25 10:29:15 +0200 | |
|---|---|---|
| committer | 2022-07-26 13:50:50 -0700 | |
| commit | 294c4f57cfe3303ee2f050d1728c76a401e573a7 (patch) | |
| tree | c7538067154ad84e004e9ddac9d96b6a8f502b34 /include/uapi/linux/devlink.h | |
| parent | net: devlink: make sure that devlink_try_get() works with valid pointer during xarray iteration (diff) | |
| download | linux-dev-294c4f57cfe3303ee2f050d1728c76a401e573a7.tar.xz linux-dev-294c4f57cfe3303ee2f050d1728c76a401e573a7.zip | |
net: devlink: move net check into devlinks_xa_for_each_registered_get()
Benefit from having devlinks iterator helper
devlinks_xa_for_each_registered_get() and move the net pointer
check inside.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux/devlink.h')
0 files changed, 0 insertions, 0 deletions
