Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9fe856e authored by Stephen Bates's avatar Stephen Bates Committed by Doug Ledford
Browse files

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: default avatarStephen Bates <sbates@raithlin.com>
Reviewed-by: default avatarYonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent b6bbee0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);