]> 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)
commit2a936714b9cde2f7c669485066c424ab33a78321
tree0b261e618de1605fd80eb68bd277ff0d95eef476
parented5838b21b97281463fe917c1628902bb396d5be
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