]> git.baikalelectronics.ru Git - kernel.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)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 23 Jun 2022 08:08:30 +0000 (10:08 +0200)
commit9bb74da46dbde880251916b4a1b1fa0896df1fba
tree025c62a759f9dc10748bf36ac9502b100281c984
parentffda53bf496576ec55c32daefd13515e0ac415ee
Revert "net/tls: fix tls_sk_proto_close executed repeatedly"

This reverts commit 4bf37baec807c1fa0377c26f495f04cb90ff8822.

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: 4bf37baec807 ("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>
net/tls/tls_main.c