summaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-02-16 13:22:02 +0300
committerJakub Kicinski <kuba@kernel.org>2026-02-18 03:45:29 +0300
commit452a3eee22c57a5786ae6db5c97f3b0ec13bb3b7 (patch)
tree731485531df71ee296d9210e704188242fa34cd6 /include/linux/start_kernel.h
parent77c5e3fdd2793f478e6fdae55c9ea85b21d06f8f (diff)
downloadlinux-452a3eee22c57a5786ae6db5c97f3b0ec13bb3b7.tar.xz
ipv6: fix a race in ip6_sock_set_v6only()
It is unlikely that this function will be ever called with isk->inet_num being not zero. Perform the check on isk->inet_num inside the locked section for complete safety. Fixes: 9b115749acb24 ("ipv6: add ip6_sock_set_v6only") Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de> Link: https://patch.msgid.link/20260216102202.3343588-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions