Merge branch 'tls-Fix-issues-in-tls_device'

Boris Pismenny says:

tls: Fix issues in tls_device

This series fixes issues encountered in tls_device code paths,
which were introduced recently.

Additionally, this series includes a fix for tls software only receive flow,
which causes corruption of payload received by user space applications.

This series was tested using the OpenSSL integration of KTLS -

Signed-off-by: David S. Miller <>