]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sctp: Replace sockaddr with sockaddr_inet in sctp_addr union
authorKees Cook <kees@kernel.org>
Tue, 22 Jul 2025 17:18:33 +0000 (10:18 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Jul 2025 22:29:58 +0000 (15:29 -0700)
commit511d10b4c2f91fb6aa676006b2bdff4df5d6e270
tree42822830930e01c3c7508896b4dbb7d3297715ec
parent9203e0a82c0b0c4b12d96d6f6f9ef9afbb6ca9c6
sctp: Replace sockaddr with sockaddr_inet in sctp_addr union

As part of the removal of the variably-sized sockaddr for kernel
internals, replace struct sockaddr with sockaddr_inet in the sctp_addr
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-3-kees@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/sctp/structs.h