]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1810ccba3f7e92a4c9c067d2f4b5a9ce7152c29
treec83a8e5d5d6cc310b5ddc86a638d1180d92bf70d
parentaae607ae9602cd2ca710287cec869fa6e85b77ac
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