Re: [RFC PATCH 03/28] tcp: Support MSG_SPLICE_PAGES

From: David Howells
Date: Thu Mar 16 2023 - 14:45:37 EST


Willem de Bruijn <willemdebruijn.kernel@xxxxxxxxx> wrote:

> The commit message mentions MSG_SPLICE_PAGES as an internal flag.
>
> It can be passed from userspace. The code anticipates that and checks
> preconditions.

Should I add a separate field in the in-kernel msghdr struct for such internal
flags? That would also avoid putting an internal flag in the same space as
the uapi flags.

David