aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/lib/ynl.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2025-05-27 06:25:45 +0000
committerPaolo Abeni <[email protected]>2025-05-27 06:25:46 +0000
commit358bea91ce6b4f02e5df0143382c96d7083504bc (patch)
tree1b125a39db68d7241d227de66db8b3bef305fc35 /tools/net/ynl/pyynl/lib/ynl.py
parentreplace strncpy with strscpy_pad (diff)
parentnet: core: Convert dev_set_mac_address_user() to use struct sockaddr_storage (diff)
downloadkernel-358bea91ce6b4f02e5df0143382c96d7083504bc.tar.gz
kernel-358bea91ce6b4f02e5df0143382c96d7083504bc.zip
Merge branch 'net-convert-dev_set_mac_address-to-struct-sockaddr_storage'
Kees Cook says: ==================== net: Convert dev_set_mac_address() to struct sockaddr_storage As part of the effort to allow the compiler to reason about object sizes, we need to deal with the problematic variably sized struct sockaddr, which has no internal runtime size tracking. In much of the network stack the use of struct sockaddr_storage has been adopted. Continue the transition toward this for more of the internal APIs. Specifically: - inet_addr_is_any() - netif_set_mac_address() - dev_set_mac_address() - dev_set_mac_address_user() Only a few callers of dev_set_mac_address() needed adjustment; all others were already using struct sockaddr_storage internally. v1: https://lore.kernel.org/all/[email protected]/ ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions