Re: [PATCH net-next] libceph: Partially revert changes to support MSG_SPLICE_PAGES

From: David Howells
Date: Mon Jun 26 2023 - 16:46:10 EST


Ilya Dryomov <idryomov@xxxxxxxxx> wrote:

> if (sendpage_ok(bv.bv_page))
> msg.msg_flags |= MSG_SPLICE_PAGES;
> else
> msg.msg_flags &= ~MSG_SPLICE_PAGES;

Hmmm... I'm not sure there's any guarantee that msg, including msg_flags,
won't get altered by ->sendmsg().

David