[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180223.123204.1304656090979628034.davem@davemloft.net>
Date: Fri, 23 Feb 2018 12:32:04 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sowmini.varadhan@...cle.com
Cc: netdev@...r.kernel.org, santosh.shilimkar@...cle.com
Subject: Re: [PATCH net-next] rds: rds_msg_zcopy should return error of
null rm->data.op_mmp_znotifier
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
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: syzbot+f893ae7bb2f6456dfbc3@...kaller.appspotmail.com
> Fixes: 0cebaccef3ac ("rds: zerocopy Tx support.")
> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Applied, thank you.
Powered by blists - more mailing lists