Re: [net-next PATCH v4 1/7] net: Convert proto_ops bind() callbacks to use sockaddr_unsized
From: Jakub Kicinski
Date: Fri Oct 31 2025 - 20:05:21 EST
On Wed, 29 Oct 2025 14:43:58 -0700 Kees Cook wrote:
> Update all struct proto_ops bind() callback function prototypes from
> "struct sockaddr *" to "struct sockaddr_unsized *" to avoid lying to the
> compiler about object sizes. Calls into struct proto handlers gain casts
> that will be removed in the struct proto conversion patch.
I fail to spot whether the new type is defined :)
Or is the new type not defined at all?
If it is probably best to have that as a separate patch.