Re: [PATCH] svcsock: Add a reference to sunrpc in svc_addsock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Tucker <tom@xxxxxxxxxxxxxxxxxxxxx> writes:

> 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 <tom@xxxxxxxxxxxxxxxxxxxxx>
Tested-by: Jeff Moyer <jmoyer@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux