tls: hw: rx: use return value of tls_device_decrypted() to carry status
[ Upstream commit 71471ca3 ] Instead of tls_device poking into internals of the message return 1 from tls_device_decrypted() if the device handled the decryption. Signed-off-by:Jakub Kicinski <kuba@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: f7fa16d4 ("tls: decrement decrypt_pending if no async completion will be called") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading