Subject: Re: Is ->sendmsg() allowed to change the msghdr struct it is given?

From: Jakub Kicinski <[email-masked]>
Date: Mon, 26 Jun 2023 14:22:57 -0700

On Mon, 26 Jun 2023 22:14:41 +0100 David Howells wrote:
> Do you know if ->sendmsg() might alter the msghdr struct it is passed as an
> argument? Certainly it can alter msg_iter, but can it also modify,
> say, msg_flags?

I'm not aware of a precedent either way.
Eric or Paolo would know better than me, tho.