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

Commit 902a94e0 authored by Tom Tucker's avatar Tom Tucker
Browse files

svcrdma: Add flush_scheduled_work to module exit function



Make certain all transports pending free are flushed from the wq
before unloading the module.

Signed-off-by: default avatarTom Tucker <tom@opengridcomputing.com>
parent 36ef25e4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -239,6 +239,7 @@ static ctl_table svcrdma_root_table[] = {
void svc_rdma_cleanup(void)
{
	dprintk("SVCRDMA Module Removed, deregister RPC RDMA transport\n");
	flush_scheduled_work();
	if (svcrdma_table_header) {
		unregister_sysctl_table(svcrdma_table_header);
		svcrdma_table_header = NULL;