]> git.ipfire.org Git - thirdparty/linux.git/commit
wireguard: peer: Replace sockaddr with sockaddr_inet
authorKees Cook <kees@kernel.org>
Tue, 22 Jul 2025 17:18:32 +0000 (10:18 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Jul 2025 22:29:58 +0000 (15:29 -0700)
commit9203e0a82c0b0c4b12d96d6f6f9ef9afbb6ca9c6
tree16f154fe7607b87ef64cfdfb58fbd89087739184
parent463deed51796fd0995d08d8b6aa793d7ab5a2059
wireguard: peer: Replace sockaddr with sockaddr_inet

As part of the removal of the variably-sized sockaddr for kernel
internals, replace struct sockaddr with sockaddr_inet in the endpoint
union.

No binary changes; the union size remains unchanged due to sockaddr_inet
matching the size of sockaddr_in6.

Signed-off-by: Kees Cook <kees@kernel.org>
Link: https://patch.msgid.link/20250722171836.1078436-2-kees@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wireguard/peer.h