summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-10-04 16:19:26 -0700
committerDavid S. Miller <davem@davemloft.net>2019-10-05 16:29:00 -0700
commit5c5ec66858062a857cf51f57cbe52b36330f7ae6 (patch)
treea7d922225f90535c71f7aafa67cc411b744dea06 /Documentation
parentb32fd3cc31d723bf2ab859667be3612c0086ec72 (diff)
downloadlinux-stable-5c5ec66858062a857cf51f57cbe52b36330f7ae6.tar.gz
linux-stable-5c5ec66858062a857cf51f57cbe52b36330f7ae6.tar.bz2
linux-stable-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 <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/tls.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/networking/tls.rst b/Documentation/networking/tls.rst
index cfba587af5c9..ab82362dd819 100644
--- a/Documentation/networking/tls.rst
+++ b/Documentation/networking/tls.rst
@@ -233,3 +233,6 @@ TLS implementation exposes the following per-namespace statistics
- ``TlsTxDevice``, ``TlsRxDevice`` -
number of TX and RX sessions opened with NIC cryptography
+
+- ``TlsDecryptError`` -
+ record decryption failed (e.g. due to incorrect authentication tag)