]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: use np->final in inet6_sk_rebuild_header()
authorEric Dumazet <edumazet@google.com>
Fri, 6 Feb 2026 17:34:21 +0000 (17:34 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Feb 2026 04:57:49 +0000 (20:57 -0800)
commit3d3f075e80f201b5ce3446beccb0d7dfd72078f5
tree5742ade269d0f17936c196d2f522f99eb1d23d65
parent03ff0cb1a9269a12c648e69e8b6ae6c2a723977c
ipv6: use np->final in inet6_sk_rebuild_header()

Instead of using an automatic variable, use np->final
to get rid of the stack canary in inet6_sk_rebuild_header().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260206173426.1638518-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/af_inet6.c