[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180724.131235.814794866288330271.davem@davemloft.net>
Date: Tue, 24 Jul 2018 13:12:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vakul.garg@....com
Cc: netdev@...r.kernel.org, borisp@...lanox.com, aviadye@...lanox.com,
davejwatson@...com
Subject: Re: [net-next v6 1/2] net/tls: Use socket data_ready callback on
record availability
From: Vakul Garg <vakul.garg@....com>
Date: Tue, 24 Jul 2018 15:44:02 +0530
> On receipt of a complete tls record, use socket's saved data_ready
> callback instead of state_change callback.
>
> Signed-off-by: Vakul Garg <vakul.garg@....com>
I don't think this is correct.
Here, the stream parser has given us a complete TLS record.
But we haven't decrypted this packet yet. It sits on the
stream parser's queue to be processed by tls_sw_recvmsg(),
not the saved socket's receive queue.
Powered by blists - more mailing lists