nfs41: sunrpc: provide functions to create and destroy a svc_xprt for backchannel use
authorBenny Halevy <bhalevy@panasas.com>
Wed, 1 Apr 2009 13:23:09 +0000 (09:23 -0400)
committerBenny Halevy <bhalevy@panasas.com>
Wed, 17 Jun 2009 21:11:30 +0000 (14:11 -0700)
commit7652e5a09ba319241607b22d9055ce93fd5b8039
tree9d1d491af237dffb1593ed8f2351ebda36b32972
parenta43cde94feded0f65fce36330614691c650ae8fe
nfs41: sunrpc: provide functions to create and destroy a svc_xprt for backchannel use

For nfs41 callbacks we need an svc_xprt to process requests coming up the
backchannel socket as rpc_rqst's that are transformed into svc_rqst's that
need a rq_xprt to be processed.

The svc_{udp,tcp}_create methods are too heavy for this job as svc_create_socket
creates an actual socket to listen on while for nfs41 we're "reusing" the
fore channel's socket.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
include/linux/sunrpc/svcsock.h
net/sunrpc/svcsock.c