summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-08-12 19:02:02 +0200
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-08-14 01:47:11 +0200
commit043b8413e8c0c0ffbf8be268eb73716e05a96064 (patch)
treecf3c3170c5569b88db9325521d523020c53f5790 /Kconfig
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next (diff)
downloadlinux-043b8413e8c0c0ffbf8be268eb73716e05a96064.tar.xz
linux-043b8413e8c0c0ffbf8be268eb73716e05a96064.zip
net: devlink: remove redundant rtnl lock assert
It is enough for caller of devlink_compat_switch_id_get() to hold the net device to guarantee that devlink port is not destroyed concurrently. Remove rtnl lock assertion and modify comment to warn user that they must hold either rtnl lock or reference to net device. This is necessary to accommodate future implementation of rtnl-unlocked TC offloads driver callbacks. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions