]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: remove net pointer from messages
authorVasily Averin <vvs@virtuozzo.com>
Wed, 8 Nov 2017 05:57:32 +0000 (08:57 +0300)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Nov 2017 21:43:51 +0000 (16:43 -0500)
commit9cfdb3b3c65dfaa503ad1d023d56cbf87752ce70
treea620bfdb790abac00c3c4d3b42488b22c2d15061
parent2f1d6a6bac335a07c5896762fa8e3a5343676931
sunrpc: remove net pointer from messages

Publishing of net pointer is not safe, use net->ns.inum as net ID
[  171.391947] RPC:       created new rpcb local clients
    (rpcb_local_clnt: ..., rpcb_local_clnt4: ...) for net f00001e7
[  171.767188] NFSD: starting 90-second grace period (net f00001e7)

Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/rpc_pipe.c
net/sunrpc/rpcb_clnt.c