diff options
| author | Sabrina Dubroca <[email protected]> | 2024-12-12 15:36:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-12-16 12:47:30 +0000 |
| commit | 510128b30f2db1600172e9aaec44f66db3c16e15 (patch) | |
| tree | 0a78573fa9fc0748281b4d69569b9aa4fc326c08 /net/tls/tls_proc.c | |
| parent | tls: implement rekey for TLS1.3 (diff) | |
| download | kernel-510128b30f2db1600172e9aaec44f66db3c16e15.tar.gz kernel-510128b30f2db1600172e9aaec44f66db3c16e15.zip | |
tls: add counters for rekey
This introduces 5 counters to keep track of key updates:
Tls{Rx,Tx}Rekey{Ok,Error} and TlsRxRekeyReceived.
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Sabrina Dubroca <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_proc.c')
| -rw-r--r-- | net/tls/tls_proc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tls/tls_proc.c b/net/tls/tls_proc.c index 68982728f620..367666aa07b8 100644 --- a/net/tls/tls_proc.c +++ b/net/tls/tls_proc.c @@ -22,6 +22,11 @@ static const struct snmp_mib tls_mib_list[] = { SNMP_MIB_ITEM("TlsRxDeviceResync", LINUX_MIB_TLSRXDEVICERESYNC), SNMP_MIB_ITEM("TlsDecryptRetry", LINUX_MIB_TLSDECRYPTRETRY), SNMP_MIB_ITEM("TlsRxNoPadViolation", LINUX_MIB_TLSRXNOPADVIOL), + SNMP_MIB_ITEM("TlsRxRekeyOk", LINUX_MIB_TLSRXREKEYOK), + SNMP_MIB_ITEM("TlsRxRekeyError", LINUX_MIB_TLSRXREKEYERROR), + SNMP_MIB_ITEM("TlsTxRekeyOk", LINUX_MIB_TLSTXREKEYOK), + SNMP_MIB_ITEM("TlsTxRekeyError", LINUX_MIB_TLSTXREKEYERROR), + SNMP_MIB_ITEM("TlsRxRekeyReceived", LINUX_MIB_TLSRXREKEYRECEIVED), SNMP_MIB_SENTINEL }; |
