commit | 1fe275d434ad4ff2d576f9a770eb4c192153ea1d | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon Jun 03 15:17:02 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 04 14:33:50 2019 -0700 |
tree | a3b67335c6013241b0e845b73e11080daf61c05b | |
parent | b9d8fec927ef3cd157e6a0956f5ec89f6891ed27 [diff] |
net/tls: don't re-check msg decrypted status in tls_device_decrypted() tls_device_decrypted() is only called from decrypt_skb_update(), when ctx->decrypted == false, there is no need to re-check the bit. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>