]> Gentwo Git Trees - linux/.git/commit
tls: snmp: do not use SNMP_MIB_SENTINEL anymore
authorEric Dumazet <edumazet@google.com>
Fri, 5 Sep 2025 16:58:11 +0000 (16:58 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Sep 2025 01:06:21 +0000 (18:06 -0700)
commit3a951f95202cfc189f5dd285bbc177dfbe19389d
treeeb80c1ff73f46fcd97c060faf8fa382545bbcfc2
parent52a33cae6a6faf17345d1b570ecf1f669f7d9648
tls: snmp: do not use SNMP_MIB_SENTINEL anymore

Use ARRAY_SIZE(), so that we know the limit at compile time.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: John Fastabend <john.fastabend@gmail.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/20250905165813.1470708-8-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_proc.c