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

Simon Horman horms at kernel.org
Tue Dec 17 08:00:26 PST 2024


On Mon, Dec 16, 2024 at 05:26:19PM -0800, 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, as part of the work to move away from internal use of struct
> sockaddr.
> 
> Signed-off-by: Kees Cook <kees at kernel.org>

Reviewed-by: Simon Horman <horms at kernel.org>



More information about the Linux-nvme mailing list