tls: Fix tls_device receive
Currently, the receive function fails to handle records already
decrypted by the device due to the commit mentioned below.
This commit advances the TLS record sequence number and prepares the context
to handle the next record.
Fixes: fedf201e1296 ("net: tls: Refactor control message handling on recv")
Signed-off-by: Boris Pismenny <email@example.com>
Reviewed-by: Eran Ben Elisha <firstname.lastname@example.org>
Signed-off-by: David S. Miller <email@example.com>
1 file changed