diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/tls/tls_device.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/tls/tls_device.c b/net/tls/tls_device.c index dde6513628d2..bb9d229832cc 100644 --- a/net/tls/tls_device.c +++ b/net/tls/tls_device.c @@ -672,10 +672,6 @@ int tls_device_decrypted(struct sock *sk, struct sk_buff *skb) int is_encrypted = !is_decrypted; struct sk_buff *skb_iter; - /* Skip if it is already decrypted */ - if (ctx->sw.decrypted) - return 0; - /* Check if all the data is decrypted already */ skb_walk_frags(skb, skb_iter) { is_decrypted &= skb_iter->decrypted; |