tls: rx: don't issue wake ups when data is decrypted
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Apr 2022 03:38:21 +0000 (20:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2022 10:49:08 +0000 (11:49 +0100)
commit5dbda02d322db7762f1a0348117cde913fb46c13
treec036a63cec14d5f769e46e17a2209f4c3277b40e
parent5deee41b19b3259debdc2d607f1065f28ac80070
tls: rx: don't issue wake ups when data is decrypted

We inform the applications that data is available when
the record is received. Decryption happens inline inside
recvmsg or splice call. Generating another wakeup inside
the decryption handler seems pointless as someone must
be actively reading the socket if we are executing this
code.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c