Messages in this thread | | | Subject | Re: [PATCH net] net/tls: fix tls_sk_proto_close executed repeatedly | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 20 Jun 2022 09:20:12 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
On Mon, 20 Jun 2022 12:35:08 +0800 you wrote: > After setting the sock ktls, update ctx->sk_proto to sock->sk_prot by > tls_update(), so now ctx->sk_proto->close is tls_sk_proto_close(). When > close the sock, tls_sk_proto_close() is called for sock->sk_prot->close > is tls_sk_proto_close(). But ctx->sk_proto->close() will be executed later > in tls_sk_proto_close(). Thus tls_sk_proto_close() executed repeatedly > occurred. That will trigger the following bug. > > [...]
Here is the summary with links: - [net] net/tls: fix tls_sk_proto_close executed repeatedly https://git.kernel.org/netdev/net/c/69135c572d1f
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |