aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/snmp.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-07-08 19:52:53 -0700
committerJakub Kicinski <kuba@kernel.org>2022-07-11 19:48:33 -0700
commitbb56cea9abd85c22175b31d8f7c44d6c615fe526 (patch)
tree39fc221488be3d6da39757990a3403080eb46410 /include/uapi/linux/snmp.h
parenttls: fix spelling of MIB (diff)
downloadlinux-dev-bb56cea9abd85c22175b31d8f7c44d6c615fe526.tar.xz
linux-dev-bb56cea9abd85c22175b31d8f7c44d6c615fe526.zip
tls: rx: add counter for NoPad violations
As discussed with Maxim add a counter for true NoPad violations. This should help deployments catch unexpected padded records vs just control records which always need re-encryption. https: //lore.kernel.org/all/b111828e6ac34baad9f4e783127eba8344ac252d.camel@nvidia.com/ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux/snmp.h')
-rw-r--r--include/uapi/linux/snmp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/snmp.h b/include/uapi/linux/snmp.h
index fd83fb9e525a..4d7470036a8b 100644
--- a/include/uapi/linux/snmp.h
+++ b/include/uapi/linux/snmp.h
@@ -345,6 +345,7 @@ enum
LINUX_MIB_TLSDECRYPTERROR, /* TlsDecryptError */
LINUX_MIB_TLSRXDEVICERESYNC, /* TlsRxDeviceResync */
LINUX_MIB_TLSDECRYPTRETRY, /* TlsDecryptRetry */
+ LINUX_MIB_TLSRXNOPADVIOL, /* TlsRxNoPadViolation */
__LINUX_MIB_TLSMAX
};