Skip to content
Commit 4f200bd8 authored by Chuck Lever's avatar Chuck Lever
Browse files

svcrdma: Add a @status parameter to svc_rdma_send_error_msg()



The common "send RDMA_ERR" function should be in svc_rdma_sendto.c,
since that is where the other Send-related functions are located.
So from here, I will beef up svc_rdma_send_error_msg() and deprecate
svc_rdma_send_error().

A generic svc_rdma_send_error_msg() will need to handle both
ERR_CHUNK and ERR_VERS. Copy that logic from svc_rdma_send_error()
to svc_rdma_send_error_msg().

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent d1f6e236
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment