diff options
author | 2025-05-21 13:46:10 -0700 | |
---|---|---|
committer | 2025-05-27 08:25:42 +0200 | |
commit | 161972650d6795ea00f8b72557cf3c3e593ed250 (patch) | |
tree | ae9e97e5674b98f5d107343c70786b43775e19e3 /scripts/generate_rust_analyzer.py | |
parent | net: core: Convert inet_addr_is_any() to sockaddr_storage (diff) | |
download | wireguard-linux-161972650d6795ea00f8b72557cf3c3e593ed250.tar.xz wireguard-linux-161972650d6795ea00f8b72557cf3c3e593ed250.zip |
net: core: Switch netif_set_mac_address() to struct sockaddr_storage
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions