Re: [PATCH v2] net: core: Convert inet_addr_is_any() to sockaddr_storage

2024-12-19 Thread Paolo Abeni
On 12/17/24 21:34, Kees Cook wrote: > All the callers of inet_addr_is_any() have a sockaddr_storage-backed > sockaddr. Avoid casts and switch prototype to the actual object being > used. > > Reviewed-by: Christoph Hellwig > Reviewed-by: Simon Horman > Signed-off-by: Kees Cook It looks like the

[PATCH v2] net: core: Convert inet_addr_is_any() to sockaddr_storage

2024-12-17 Thread Kees Cook
All the callers of inet_addr_is_any() have a sockaddr_storage-backed sockaddr. Avoid casts and switch prototype to the actual object being used. Reviewed-by: Christoph Hellwig Reviewed-by: Simon Horman Signed-off-by: Kees Cook --- v2: drop "extern" in header (hch) v1: https://lore.kernel.org/