+5
−5
+2
−2
+1
−1
Loading
In order to avoid passing around struct sockaddr that has a size the compiler cannot reason about (nor track at runtime), convert netif_set_mac_address() to take struct sockaddr_storage. This is just a cast conversion, so there is are no binary changes. Following patches will make actual allocation changes. Acked-by:Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by:
Kees Cook <kees@kernel.org> Link: https://patch.msgid.link/20250521204619.2301870-2-kees@kernel.org Signed-off-by:
Paolo Abeni <pabeni@redhat.com>