]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: add TlsDecryptError stat
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 4 Oct 2019 23:19:26 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Oct 2019 23:29:00 +0000 (16:29 -0700)
commit6ceb6e9e89b9c0499d41cff4aa57a3f61ba99a00
treea7d922225f90535c71f7aafa67cc411b744dea06
parent561070fdd3c68e6ce0d32ec9ac6e18ab0c83c1a5
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 <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/tls.rst
include/uapi/linux/snmp.h
net/tls/tls_proc.c
net/tls/tls_sw.c