From: Sowmini Varadhan <[email protected]>
Date: Thu, 22 Feb 2018 13:40:27 -0800

> if either or both of MSG_ZEROCOPY and SOCK_ZEROCOPY have not been
> specified, the rm->data.op_mmp_znotifier allocation will be skipped.
> In this case, it is invalid ot pass down a cmsghdr with
> RDS_CMSG_ZCOPY_COOKIE, so return EINVAL from rds_msg_zcopy for this
> case.
> 
> Reported-by: [email protected]
> Fixes: 0cebaccef3ac ("rds: zerocopy Tx support.")
> Signed-off-by: Sowmini Varadhan <[email protected]>

Applied, thank you.

Reply via email to