diff options
author | J. Bruce Fields <bfields@redhat.com> | 2016-05-17 12:38:21 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-06-15 10:32:25 -0400 |
commit | 39a9beab5acb83176e8b9a4f0778749a09341f1f (patch) | |
tree | 0b261e618de1605fd80eb68bd277ff0d95eef476 /include/linux/sunrpc/xprt.h | |
parent | d50039ea5ee63c589b0434baa5ecf6e5075bb6f9 (diff) | |
download | lwn-39a9beab5acb83176e8b9a4f0778749a09341f1f.tar.gz lwn-39a9beab5acb83176e8b9a4f0778749a09341f1f.zip |
rpc: share one xps between all backchannels
The spec allows backchannels for multiple clients to share the same tcp
connection. When that happens, we need to use the same xprt for all of
them. Similarly, we need the same xps.
This fixes list corruption introduced by the multipath code.
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Acked-by: Trond Myklebust <trondmy@primarydata.com>
Diffstat (limited to 'include/linux/sunrpc/xprt.h')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 5aa3834619a8..5e3e1b63dbb3 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h @@ -297,6 +297,7 @@ struct xprt_create { size_t addrlen; const char *servername; struct svc_xprt *bc_xprt; /* NFSv4.1 backchannel */ + struct rpc_xprt_switch *bc_xps; unsigned int flags; }; |