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

Commit bf12691d authored by Jesper Dangaard Brouer's avatar Jesper Dangaard Brouer Committed by David S. Miller
Browse files

sunrpc/auth_gss: Call rcu_barrier() on module unload.



As the module uses rcu_call() we should make sure that all
rcu callback has been completed before removing the code.

Signed-off-by: default avatarJesper Dangaard Brouer <hawk@comx.dk>
Acked-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent eaa184a1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1548,6 +1548,7 @@ static void __exit exit_rpcsec_gss(void)
{
	gss_svc_shutdown();
	rpcauth_unregister(&authgss_ops);
	rcu_barrier(); /* Wait for completion of call_rcu()'s */
}

MODULE_LICENSE("GPL");