From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b8-smtp.messagingengine.com (fout-b8-smtp.messagingengine.com [202.12.124.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D1A7219A89 for ; Mon, 8 Sep 2025 13:58:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757339929; cv=none; b=Ng4ALhIOrYv/JGJbq4YRKk09l8J4cxfRcmkcjRPPge7VTRFjq9QxIlhYJzU7vF+GtcfuVQ2OHMvzlZxYXSToKaHlduNIsxE41fRVhk9LFySwt6xbLauNPlHHvb3i8KhSVHAcYsgNtwbBsciqXfGXpge+RNtpuq+mH7l+yYfyiyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757339929; c=relaxed/simple; bh=7T/5Vm2GSLmxS4MfbLT/PrCMRegiAQQR0DbkEMSFG8Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ic+vMw6rUPHxG+aTDIMqYf258WVHxEdsSBCFHhnxd7Qk0KBWg8Y472GoybGmf2/Vf0C48HF1TQuPhhmlpPKdPdENG0cYbQU18IA+fFOl3uTv7o12zYxHzR5DVoQlLNWATZNekKLch5q7781RBxVMsYcd6kVhIvOE1gy/Rfpmc2Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net; spf=pass smtp.mailfrom=queasysnail.net; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b=jN8EQCOC; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Eeag1BON; arc=none smtp.client-ip=202.12.124.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b="jN8EQCOC"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Eeag1BON" Received: from phl-compute-09.internal (phl-compute-09.internal [10.202.2.49]) by mailfout.stl.internal (Postfix) with ESMTP id 30B671D00038; Mon, 8 Sep 2025 09:58:47 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Mon, 08 Sep 2025 09:58:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=queasysnail.net; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1757339927; x= 1757426327; bh=X1pGXCkc1si8BrIRakIKtaX8JymneSQdxBB8E7bIdcg=; b=j N8EQCOCUC8505D7CGJyXFVJlkpFDcQy0YoXIZa4y9/MGH/XEhp5e7JwXpN+VZYkn zJ9qFkERIlE5EERmhIgEnbEyHyUG/sVG4h73NzdgRWMzvaWZI1b6vPlFdnyUL8zP XgyRyhpu8zQmMkPzXCjyuUY++hT76eW4Wfi/jTbcmtAA3YIrFGQluTYbyOnBDKRr lCY3EEupJLnezp6gqzhqDCTqyJHasXKZkP1MOLqdaMX2lVgQvFx5wJ5J1aNMWtQB YmtnxGnl33No8ysaoGKuQPEtX6fLCx32i25tfMSJ95LH+7RD0zqAIHrM1jsYUe5i MiABUN4big0QupcFovLYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1757339927; x=1757426327; bh=X1pGXCkc1si8BrIRakIKtaX8JymneSQdxBB 8E7bIdcg=; b=Eeag1BONRPPs5fiiBfxF8kFmfTDOYugbHnhTav8j6kzuJ+KmC6H BMyh2BbQavF3CaREr8+Gi/gWYxMxg0sY5DK/+tFHLOdpmiQL6FX1/mjhHWRsK7sV Y0xjIA/MPLNDNTgo5eU5IvD7/T+FMDkp8VdmyxOjYei3OM8vwo1M233ISSjslK01 CVISBOUKCl4ywek0zDSRRXT9ZEJAVazJeE/og9UcR56mDgHspwgzPVgg/x9lkiIP fq54AWJTCul8Z67d+YZnIgI6+nxdjJJEaP3PqxQlPHjCLFB5brgbJq8yDHuldVac N1tH554a7NV2AkwddM3lc8IdEVC8AVE9N/g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddujeejudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfhfgggtuggjsehttdertddttdejnecuhfhrohhmpefurggsrhhinhgr ucffuhgsrhhotggruceoshgusehquhgvrghshihsnhgrihhlrdhnvghtqeenucggtffrrg htthgvrhhnpeeuhffhfffgfffhfeeuiedugedtfefhkeegteehgeehieffgfeuvdeuffef gfduffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsugesqhhuvggrshihshhnrghilhdrnhgvthdpnhgspghrtghpthhtohepuddupdhmohgu vgepshhmthhpohhuthdprhgtphhtthhopegvughumhgriigvthesghhoohhglhgvrdgtoh hmpdhrtghpthhtohepuggrvhgvmhesuggrvhgvmhhlohhfthdrnhgvthdprhgtphhtthho pehkuhgsrgeskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepphgrsggvnhhisehrvgguhh grthdrtghomhdprhgtphhtthhopehhohhrmhhssehkvghrnhgvlhdrohhrghdprhgtphht thhopegushgrhhgvrhhnsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehjrghmihgvrd gsrghinhgsrhhiughgvgesghhmrghilhdrtghomhdprhgtphhtthhopehrrgifrghlrdgr sghhihhshhgvkhelvdesghhmrghilhdrtghomhdprhgtphhtthhopehnvghtuggvvhesvh hgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i934648bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 8 Sep 2025 09:58:46 -0400 (EDT) Date: Mon, 8 Sep 2025 15:58:45 +0200 From: Sabrina Dubroca To: Eric Dumazet Cc: "David S . Miller" , Jakub Kicinski , Paolo Abeni , Simon Horman , David Ahern , Jamie Bainbridge , Abhishek Rawal , netdev@vger.kernel.org, eric.dumazet@gmail.com, John Fastabend Subject: Re: [PATCH v2 net-next 7/9] tls: snmp: do not use SNMP_MIB_SENTINEL anymore Message-ID: References: <20250905165813.1470708-1-edumazet@google.com> <20250905165813.1470708-8-edumazet@google.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20250905165813.1470708-8-edumazet@google.com> 2025-09-05, 16:58:11 +0000, Eric Dumazet wrote: > Use ARRAY_SIZE(), so that we know the limit at compile time. > > Signed-off-by: Eric Dumazet > Cc: John Fastabend > Cc: Sabrina Dubroca > --- > net/tls/tls_proc.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) Reviewed-by: Sabrina Dubroca -- Sabrina