]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix transport accounting when caller specifies an rpc_xprt
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 11 Jul 2019 20:33:12 +0000 (16:33 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 12 Jul 2019 17:14:54 +0000 (13:14 -0400)
commit70c5872e887aa69b14f14008de92a8f12faf27ca
treefee002167b713916d0eb068551a25911891660e6
parentfcfd2bc115d537bcef25a0b995d44104d34df87b
SUNRPC: Fix transport accounting when caller specifies an rpc_xprt

Ensure that we do the required accounting for the round robin queue
when the caller to rpc_init_task() has passed in a transport to be
used.

Reported-by: Olga Kornievskaia <aglo@umich.edu>
Reported-by: Neil Brown <neilb@suse.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c
net/sunrpc/sched.c