Re: [PATCH] net: Convert proto_ops::getname to sockaddr_storage

2025-01-15 Thread Marc Kleine-Budde
On 16.12.2024 18:34:28, Kees Cook wrote: > The proto_ops::getname callback was long ago backed by sockaddr_storage, > but the replacement of it for sockaddr was never done. Plumb it through > all the getname() callbacks, adjust prototypes, and fix casts. > > There are a few cases where the backing

Re: [PATCH] net: Convert proto_ops::getname to sockaddr_storage

2025-01-14 Thread Allison Henderson
On Mon, 2024-12-16 at 18:34 -0800, Kees Cook wrote: > The proto_ops::getname callback was long ago backed by sockaddr_storage, > but the replacement of it for sockaddr was never done. Plumb it through > all the getname() callbacks, adjust prototypes, and fix casts. > > There are a few cases where

Re: [PATCH] net: Convert proto_ops::getname to sockaddr_storage

2024-12-17 Thread Chuck Lever
On 12/16/24 9:34 PM, Kees Cook wrote: The proto_ops::getname callback was long ago backed by sockaddr_storage, but the replacement of it for sockaddr was never done. Plumb it through all the getname() callbacks, adjust prototypes, and fix casts. There are a few cases where the backing object is

Re: [PATCH] net: Convert proto_ops::getname to sockaddr_storage

2024-12-16 Thread Christoph Hellwig
Would be nice to avoid a bunch of the overly long lines, but the fundamental changes looks good: Reviewed-by: Christoph Hellwig

[PATCH] net: Convert proto_ops::getname to sockaddr_storage

2024-12-16 Thread Kees Cook
The proto_ops::getname callback was long ago backed by sockaddr_storage, but the replacement of it for sockaddr was never done. Plumb it through all the getname() callbacks, adjust prototypes, and fix casts. There are a few cases where the backing object is _not_ a sockaddr_storage and converting