SUNRPC: allow disabling idle timeout
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 11 Apr 2013 19:06:36 +0000 (15:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 26 Apr 2013 15:41:26 +0000 (11:41 -0400)
commit33d90ac0581ce81d1ebfc51918a2757e41a6011c
treeee1a01377713975303cbfae2abb268de2ec6a769
parent7073ea8799a8cf73db60270986f14e4aae20fa80
SUNRPC: allow disabling idle timeout

In the gss-proxy case we don't want to have to reconnect at random--we
want to connect only on gss-proxy startup when we can steal gss-proxy's
context to do the connect in the right namespace.

So, provide a flag that allows the rpc_create caller to turn off the
idle timeout.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/clnt.h
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/xprt.c