tls: fix spelling of MIB
MIN -> MIB
Fixes: 88527790c0
("tls: rx: add sockopt for enabling optimistic decrypt with TLS 1.3")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Родитель
10c8fd2f7a
Коммит
1090c1ea22
|
@ -344,7 +344,7 @@ enum
|
|||
LINUX_MIB_TLSRXDEVICE, /* TlsRxDevice */
|
||||
LINUX_MIB_TLSDECRYPTERROR, /* TlsDecryptError */
|
||||
LINUX_MIB_TLSRXDEVICERESYNC, /* TlsRxDeviceResync */
|
||||
LINUX_MIN_TLSDECRYPTRETRY, /* TlsDecryptRetry */
|
||||
LINUX_MIB_TLSDECRYPTRETRY, /* TlsDecryptRetry */
|
||||
__LINUX_MIB_TLSMAX
|
||||
};
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче