projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa184a
)
sunrpc/auth_gss: Call rcu_barrier() on module unload.
author
Jesper Dangaard Brouer
<
[email protected]
>
Mon, 8 Jun 2009 03:11:48 +0000
(
03:11
+0000)
committer
David S. Miller
<
[email protected]
>
Wed, 10 Jun 2009 08:11:27 +0000
(
01:11
-0700)
As the module uses rcu_call() we should make sure that all
rcu callback has been completed before removing the code.
Signed-off-by: Jesper Dangaard Brouer <
[email protected]
>
Acked-by: Paul E. McKenney <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/sunrpc/auth_gss/auth_gss.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/auth_gss/auth_gss.c
b/net/sunrpc/auth_gss/auth_gss.c
index e630b38a604718a57c80a93e7556452859cf35c1..66d458fc69206e69a50663f12b0a491a750b7c80 100644
(file)
--- a/
net/sunrpc/auth_gss/auth_gss.c
+++ b/
net/sunrpc/auth_gss/auth_gss.c
@@
-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");