]> git.baikalelectronics.ru Git - kernel.git/commit
rdma: Autoload netlink client modules
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Mon, 14 Aug 2017 20:57:39 +0000 (14:57 -0600)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Aug 2017 21:04:22 +0000 (17:04 -0400)
commita54597f675da3c75a48202674d7623b26666dd34
treed3cadc75b4c94b80f41118358053541e97f2ed86
parent8ed1af035c62ff0c5de1aa8477bedf9129e46294
rdma: Autoload netlink client modules

If a message comes in and we do not have the client in the table, then
try to load the module supplying that client using MODULE_ALIAS to find
it.

This duplicates the scheme seen in other netlink muxes (eg nfnetlink).

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c
drivers/infiniband/core/device.c
drivers/infiniband/core/iwcm.c
drivers/infiniband/core/netlink.c
drivers/infiniband/core/nldev.c
include/rdma/rdma_netlink.h