tcp: annotate data-races around tp->linger2
stable inclusion from stable-v4.19.291 commit db4a513616f904b75e86cc725cf96d5ddeeb6936 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7ZELT CVE: NA -------------------------------- [ Upstream commit 9df5335c ] do_tcp_getsockopt() reads tp->linger2 while another cpu might change its value. Fixes: 1da177e4 ("Linux-2.6.12-rc2") Signed-off-by:Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20230719212857.3943972-8-edumazet@google.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>
Loading
Please sign in to comment