On Thu, Feb 22, 2018 at 4:40 PM, Sowmini Varadhan
<sowmini.varad...@oracle.com> wrote:
> 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: syzbot+f893ae7bb2f6456df...@syzkaller.appspotmail.com
> Fixes: 0cebaccef3ac ("rds: zerocopy Tx support.")
> Signed-off-by: Sowmini Varadhan <sowmini.varad...@oracle.com>

Acked-by: Willem de Bruijn <will...@google.com>

Reply via email to