]> 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)
commitace73c6122339042566229e78593e8374b065441
treed3cadc75b4c94b80f41118358053541e97f2ed86
parent635414c37fea0816216fd13b04ca83ae36f5f745
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