]> 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)
commit6c67a3e4a46a95c8aa8228dafb3676bc1a9b4871
treea620bfdb790abac00c3c4d3b42488b22c2d15061
parente4949e4b3d5e056bcecebd340d4c8fab7ed1c20d
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