commit | 8f1d532b4a49e196696b0aa150962d7ce96985e4 | [log] [tgz] |
---|---|---|
author | Sabrina Dubroca <sd@queasysnail.net> | Mon Oct 09 22:50:42 2023 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 13 11:26:09 2023 +0100 |
tree | ae8b7bba910851b9e560e9294d2f97f562e48c81 | |
parent | 3bab3ee0f95ebd2a897ac3205b4fdee50c3b5f96 [diff] |
tls: drop unnecessary cipher_type checks in tls offload We should never reach tls_device_reencrypt, tls_enc_record, or tls_enc_skb with a cipher_type that can't be offloaded. Replace those checks with a DEBUG_NET_WARN_ON_ONCE, and use cipher_desc instead of hard-coding offloadable cipher types. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>