diff options
| author | Jakub Kicinski <[email protected]> | 2019-10-04 23:19:26 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-10-05 23:29:00 +0000 |
| commit | 5c5ec66858062a857cf51f57cbe52b36330f7ae6 (patch) | |
| tree | a7d922225f90535c71f7aafa67cc411b744dea06 /net/tls/tls_proc.c | |
| parent | net/tls: add statistics for installed sessions (diff) | |
| download | kernel-5c5ec66858062a857cf51f57cbe52b36330f7ae6.tar.gz kernel-5c5ec66858062a857cf51f57cbe52b36330f7ae6.zip | |
net/tls: add TlsDecryptError stat
Add a statistic for TLS record decryption errors.
Since devices are supposed to pass records as-is when they
encounter errors this statistic will count bad records in
both pure software and inline crypto configurations.
Signed-off-by: Jakub Kicinski <[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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tls/tls_proc.c b/net/tls/tls_proc.c index 1b1f3783badc..2bea7ef4823c 100644 --- a/net/tls/tls_proc.c +++ b/net/tls/tls_proc.c @@ -15,6 +15,7 @@ static const struct snmp_mib tls_mib_list[] = { SNMP_MIB_ITEM("TlsRxSw", LINUX_MIB_TLSRXSW), SNMP_MIB_ITEM("TlsTxDevice", LINUX_MIB_TLSTXDEVICE), SNMP_MIB_ITEM("TlsRxDevice", LINUX_MIB_TLSRXDEVICE), + SNMP_MIB_ITEM("TlsDecryptError", LINUX_MIB_TLSDECRYPTERROR), SNMP_MIB_SENTINEL }; |
