diff options
author | Kees Cook <kees@kernel.org> | 2025-05-21 23:46:10 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-05-27 09:25:42 +0300 |
commit | 161972650d6795ea00f8b72557cf3c3e593ed250 (patch) | |
tree | ae9e97e5674b98f5d107343c70786b43775e19e3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ed449ddbd867f2cc02d6890c231431f264a876eb (diff) | |
download | linux-161972650d6795ea00f8b72557cf3c3e593ed250.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions