diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2016-03-01 13:06:29 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-03-01 13:06:38 -0800 |
commit | c6db03ea577846a72dc80638f4a70b392c21962f (patch) | |
tree | 357fcd12ef3856be8f46ab32cf879241ffd4356d /net/sunrpc/xprtrdma/svc_rdma_sendto.c | |
parent | svcrdma: svc_rdma_post_recv() should close connection on error (diff) | |
download | linux-dev-c6db03ea577846a72dc80638f4a70b392c21962f.tar.xz linux-dev-c6db03ea577846a72dc80638f4a70b392c21962f.zip |
rpcrdma: Add RPCRDMA_HDRLEN_ERR
Error headers are shorter than either RDMA_MSG or RDMA_NOMSG.
Since HDRLEN_MIN is already used in several other places that would
be annoying to change, add RPCRDMA_HDRLEN_ERR for the one or two
spots where the shorter length is needed.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_sendto.c')
0 files changed, 0 insertions, 0 deletions