diff options
author | Stephen Bates <sbates@raithlin.com> | 2016-09-23 18:32:11 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-10-06 20:50:04 +0300 |
commit | b9fe856e545491fd57fc7ca195d0123df0124e7c (patch) | |
tree | b51a0beea2637cd12f83d7f67f9f9990a5a8db90 /drivers/infiniband/sw | |
parent | b6bbee0d2438a2c9c7525f5bd7047a8b2ce4f38f (diff) | |
download | linux-b9fe856e545491fd57fc7ca195d0123df0124e7c.tar.xz |
rdma_rxe: Ensure rdma_rxe init occurs at correct time
There is a problem when CONFIG_RDMA_RXE=y and CONFIG_IPV6=y. This
results in the rdma_rxe initialization occurring before the IPv6
services are ready. This patch delays the initialization of rdma_rxe
until after the IPv6 services are ready. This fix is based on one
proposed by Logan Gunthorpe on a much older code base.
Signed-off-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe.c b/drivers/infiniband/sw/rxe/rxe.c index ddd59270ff6d..9a48e7277673 100644 --- a/drivers/infiniband/sw/rxe/rxe.c +++ b/drivers/infiniband/sw/rxe/rxe.c @@ -401,5 +401,5 @@ static void __exit rxe_module_exit(void) pr_info("rxe: unloaded\n"); } -module_init(rxe_module_init); +late_initcall(rxe_module_init); module_exit(rxe_module_exit); |