Re: [PATCH net-next v7] net/tls: Use socket data_ready callback on record availability

2018-07-30 Thread David Miller
From: Vakul Garg Date: Mon, 30 Jul 2018 16:08:33 +0530 > On receipt of a complete tls record, use socket's saved data_ready > callback instead of state_change callback. In function tls_queue(), > the TLS record is queued in encrypted state. But the decryption > happen inline when tls_sw_recvmsg()

[PATCH net-next v7] net/tls: Use socket data_ready callback on record availability

2018-07-29 Thread Vakul Garg
On receipt of a complete tls record, use socket's saved data_ready callback instead of state_change callback. In function tls_queue(), the TLS record is queued in encrypted state. But the decryption happen inline when tls_sw_recvmsg() or tls_sw_splice_read() get invoked. So it should be ok to notif