]> git.openfabrics.org - ~emulex/infiniband.git/commit
NFSD: Always initialize cl_cb_addr
authorChuck Lever <chuck.lever@oracle.com>
Fri, 22 Aug 2014 19:10:59 +0000 (15:10 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 23 Oct 2014 18:05:11 +0000 (14:05 -0400)
commitb0d2e42cce8fbf12998a24abf62a26c895dd2fd2
tree1bbae5a6e95f415e2403aa996dec38c838ffcc39
parent280caac078d3db075247915f6d2f72315232ed16
NFSD: Always initialize cl_cb_addr

A client may not want to use the back channel on a transport it sent
CREATE_SESSION on, in which case it clears SESSION4_BACK_CHAN.

However, cl_cb_addr should be populated anyway, to be used if the
client binds other connections to this session. If cl_cb_addr is
not initialized, rpc_create() fails when the server attempts to
set up a back channel on such secondary transports.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c