diff options
| author | Tom Tucker <[email protected]> | 2008-11-23 15:58:08 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2008-11-24 16:15:01 +0000 |
| commit | 2da2c21d7508d34bc6d600df665d84871b65d2b9 (patch) | |
| tree | aac096017d62589c3675d44ffff61dc1676fa9d1 /security/selinux/hooks.c | |
| parent | nfsd: clean up grace period on early exit (diff) | |
| download | kernel-2da2c21d7508d34bc6d600df665d84871b65d2b9.tar.gz kernel-2da2c21d7508d34bc6d600df665d84871b65d2b9.zip | |
Add a reference to sunrpc in svc_addsock
The svc_addsock function adds transport instances without taking a
reference on the sunrpc.ko module, however, the generic transport
destruction code drops a reference when a transport instance
is destroyed.
Add a try_module_get call to the svc_addsock function for transport
instances added by this function.
Signed-off-by: Tom Tucker <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Tested-by: Jeff Moyer <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
