Skip to content

Commit

Permalink
rdma_rxe: Ensure rdma_rxe init occurs at correct time
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Bates authored and Doug Ledford committed Oct 6, 2016
1 parent b6bbee0 commit b9fe856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/sw/rxe/rxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit b9fe856

Please sign in to comment.