]> git.baikalelectronics.ru Git - kernel.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)
commit9a4b8ab67f17427522d12c9df1942c4b53c5ad0f
tree0b261e618de1605fd80eb68bd277ff0d95eef476
parent6f74b11d837511359e9c6cd04df52c104c44151a
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