]> www.infradead.org Git - users/dwmw2/linux.git/commit
Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
authorJakub Kicinski <kuba@kernel.org>
Mon, 20 Jun 2022 19:13:52 +0000 (12:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jun 2022 06:59:49 +0000 (08:59 +0200)
commitafbc954e78962028a6806e34f3cc40e236f01770
treeb55f21140e87a5bdccdd27e62d848de7c3632dde
parent340fbdc8011f2dc678f622c5ce1cbb5ab8305de7
Revert "net/tls: fix tls_sk_proto_close executed repeatedly"

[ Upstream commit 1b205d948fbb06a7613d87dcea0ff5fd8a08ed91 ]

This reverts commit 69135c572d1f84261a6de2a1268513a7e71753e2.

This commit was just papering over the issue, ULP should not
get ->update() called with its own sk_prot. Each ULP would
need to add this check.

Fixes: 69135c572d1f ("net/tls: fix tls_sk_proto_close executed repeatedly")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/r/20220620191353.1184629-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/tls/tls_main.c