summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-02-26 13:56:12 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-03-28 14:52:02 -0300
commit62dfa7955e842e7ff6827edc034a0839b009c326 (patch)
tree9371584ac4c408b3466f4372bf006aa6b0bd0de3 /include/rdma
parentcebe556bd755d16559c8bc0d1fe5545db6bbeaf0 (diff)
downloadlinux-stable-62dfa7955e842e7ff6827edc034a0839b009c326.tar.gz
linux-stable-62dfa7955e842e7ff6827edc034a0839b009c326.tar.bz2
linux-stable-62dfa7955e842e7ff6827edc034a0839b009c326.zip
RDMA/core: Restrict sysfs entries view to init_net
This is a preparation patch to provide isolation of rdma device in a network namespace. As first step, make rdma device visible only in init net namespace. Subsequent patch will enable rdma device visibility back in multiple net namespaces using compat ib_core_device device/sysfs tree. Given that the IB subsystem depends on net stack, it needs to be initialized after netdev and since it support devices, it needs to be initialized before the device subsystem; therefore, change initcall sequence to fs_initcall, so that when ib_core is compiled in the kernel image, the right init sequence is followed. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions