Files
linux/include/linux/sunrpc
Chuck Lever c73df6f73c svcrdma: Select NFSv4.1 backchannel transport based on forward channel
commit 3c45ddf823 upstream.

The current code always selects XPRT_TRANSPORT_BC_TCP for the back
channel, even when the forward channel was not TCP (eg, RDMA). When
a 4.1 mount is attempted with RDMA, the server panics in the TCP BC
code when trying to send CB_NULL.

Instead, construct the transport protocol number from the forward
channel transport or'd with XPRT_TRANSPORT_BC. Transports that do
not support bi-directional RPC will not have registered a "BC"
transport, causing create_backchannel_client() to fail immediately.

Fixes: https://bugzilla.linux-nfs.org/show_bug.cgi?id=265
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-05 16:28:37 -07:00
..
2012-03-11 19:30:02 -04:00
2013-04-26 11:41:26 -04:00
2005-10-18 23:19:47 -07:00
2012-01-31 19:28:20 -05:00
2012-03-06 18:13:33 -05:00
2013-01-23 18:17:39 -05:00
2011-07-26 16:49:47 -07:00
2013-04-26 11:41:26 -04:00
2012-03-11 19:30:02 -04:00