aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/mount_clnt.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-03 16:48:34 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-07 18:18:53 -0400
commit9a4bd29fe8f6d3f015fe1c8e5450eb62cfebfcc9 (patch)
treec3175a0a07ecf41f8eae1204ef5f5421c4b023f5 /fs/nfs/mount_clnt.c
parentNFS: SETCLIENTID truncates client ID and netid (diff)
downloadlinux-dev-9a4bd29fe8f6d3f015fe1c8e5450eb62cfebfcc9.tar.xz
linux-dev-9a4bd29fe8f6d3f015fe1c8e5450eb62cfebfcc9.zip
SUNRPC: Fix autobind on cloned rpc clients
Despite the fact that cloned rpc clients won't have the cl_autobind flag set, they may still find themselves calling rpcb_getport_async(). For this to happen, it suffices for a _parent_ rpc_clnt to use autobinding, in which case any clone may find itself triggering the !xprt_bound() case in call_bind(). The correct fix for this is to walk back up the tree of cloned rpc clients, in order to find the parent that 'owns' the transport, either because it has clnt->cl_autobind set, or because it originally created the transport... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/mount_clnt.c')
0 files changed, 0 insertions, 0 deletions