diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-09 04:52:52 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-12 04:48:32 +0200 |
commit | 1090c1ea2208702a2fe0e3f71d262e3097d939f6 (patch) | |
tree | b7bf4dcbd5af61cc97b3b9a4524e5c5401d41bfa /net/tls | |
parent | bcm63xx: fix Tx cleanup when NAPI poll budget is zero (diff) | |
download | linux-1090c1ea2208702a2fe0e3f71d262e3097d939f6.tar.xz linux-1090c1ea2208702a2fe0e3f71d262e3097d939f6.zip |
tls: fix spelling of MIB
MIN -> MIB
Fixes: 88527790c079 ("tls: rx: add sockopt for enabling optimistic decrypt with TLS 1.3")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tls')
-rw-r--r-- | net/tls/tls_proc.c | 2 | ||||
-rw-r--r-- | net/tls/tls_sw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/tls/tls_proc.c b/net/tls/tls_proc.c index 1246e52b48f6..ede9df13c398 100644 --- a/net/tls/tls_proc.c +++ b/net/tls/tls_proc.c @@ -20,7 +20,7 @@ static const struct snmp_mib tls_mib_list[] = { SNMP_MIB_ITEM("TlsRxDevice", LINUX_MIB_TLSRXDEVICE), SNMP_MIB_ITEM("TlsDecryptError", LINUX_MIB_TLSDECRYPTERROR), SNMP_MIB_ITEM("TlsRxDeviceResync", LINUX_MIB_TLSRXDEVICERESYNC), - SNMP_MIB_ITEM("TlsDecryptRetry", LINUX_MIN_TLSDECRYPTRETRY), + SNMP_MIB_ITEM("TlsDecryptRetry", LINUX_MIB_TLSDECRYPTRETRY), SNMP_MIB_SENTINEL }; diff --git a/net/tls/tls_sw.c b/net/tls/tls_sw.c index 09370f853031..e12846d1871a 100644 --- a/net/tls/tls_sw.c +++ b/net/tls/tls_sw.c @@ -1596,7 +1596,7 @@ static int decrypt_skb_update(struct sock *sk, struct sk_buff *skb, if (unlikely(darg->zc && prot->version == TLS_1_3_VERSION && darg->tail != TLS_RECORD_TYPE_DATA)) { darg->zc = false; - TLS_INC_STATS(sock_net(sk), LINUX_MIN_TLSDECRYPTRETRY); + TLS_INC_STATS(sock_net(sk), LINUX_MIB_TLSDECRYPTRETRY); return decrypt_skb_update(sk, skb, dest, darg); } |