tls: rx: simplify async wait
commit 37943f04 upstream. Since we are protected from async completions by decrypt_compl_lock we can drop the async_notify and reinit the completion before we start waiting. Signed-off-by:Jakub Kicinski <kuba@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: aec79619 ("tls: fix race between async notify and socket close") Signed-off-by:
Shaoying Xu <shaoyi@amazon.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment