From: Chuck Lever Date: Tue, 13 Jan 2015 16:03:11 +0000 (-0500) Subject: svcrdma: Find rmsgp more reliably X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~106^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5523bd28101869c85856247fc120faaf72bd232;p=pandora-kernel.git svcrdma: Find rmsgp more reliably xdr_start() can return the wrong rmsgp address if an assumption about how the xdr_buf was constructed changes. When it gets it wrong, the client receives a reply that has gibberish in the RPC/RDMA header, preventing it from matching a waiting RPC request. Instead, make (and document) just one assumption: that the RDMA header for the client's RPC call is at the start of the first page in rq_pages. Signed-off-by: Chuck Lever Reviewed-by: Steve Wise Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed