svcrdma: Use parsed chunk lists to detect reverse direction replies
authorChuck Lever <chuck.lever@oracle.com>
Sun, 22 Mar 2020 17:06:55 +0000 (13:06 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 18:00:22 +0000 (13:00 -0500)
commit58b2e0fefa891c99f297120c8c062a35005dc562
treec83a8e5d5d6cc310b5ddc86a638d1180d92bf70d
parenteb3de6a49dd587d6670c404769561f3e283b71e4
svcrdma: Use parsed chunk lists to detect reverse direction replies

Refactor: Don't duplicate header decoding smarts here. Instead, use
the new parsed chunk lists.

Note that the XID sanity test is also removed. The XID is already
looked up by the cb handler, and is rejected if it's not recognized.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c