]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rpc: share one xps between all backchannels
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 17 May 2016 16:38:21 +0000 (12:38 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 15 Jun 2016 14:32:25 +0000 (10:32 -0400)
commit39a9beab5acb83176e8b9a4f0778749a09341f1f
tree0b261e618de1605fd80eb68bd277ff0d95eef476
parentd50039ea5ee63c589b0434baa5ecf6e5075bb6f9
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>
include/linux/sunrpc/svc_xprt.h
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/svc_xprt.c
net/sunrpc/xprtsock.c