From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b2-smtp.messagingengine.com (fhigh-b2-smtp.messagingengine.com [202.12.124.153]) (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 E914730C63F for ; Mon, 8 Sep 2025 13:54:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.153 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757339695; cv=none; b=n46PCHbsV4xYdz+xeVLCzmL4Dg4zdFKiSdCKR8S39YoN/6Imfx+n0+gGdSlgNpqformcvRbi0VSmyV79n67vFLa8tP3S9pez8jhiyITx8dGG2+c3Xxqxk60m26UL/lw5E6LmzsCYCsBdUP/nhn6wxwBwTwBWa8lf9d4oEqkw9q4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757339695; c=relaxed/simple; bh=OJXDNX53MQ8EEN9uYOXtsOCqtHtQZvz3FVAIJwgBgZs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qFS1VcGDh4K3X0p5JgcClh1TzFu0oaAVeLvbHrTGYMJ4nSG7Xsz4OkxeSIRfviqMHYMC1IiPkHbnDuecLg6va/euVJOitypoTruGt29fGZieluF0X2/skO7TrgShTVVBBDxwMO70BERKmS7AdBzEjHu2gxWsJLOiKqmym1mBydg= 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=Bfj2Qnt8; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=A5TRi9Uk; arc=none smtp.client-ip=202.12.124.153 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="Bfj2Qnt8"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="A5TRi9Uk" Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id C3EFA7A0109; Mon, 8 Sep 2025 09:54:52 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 08 Sep 2025 09:54:53 -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=1757339692; x= 1757426092; bh=koMqeES2tH56wcG7rkvF2aRD2nxc6VqC9XQs3LmNwfg=; b=B fj2Qnt8YesAFmoDLrhAD5A6UHmK6unN4Q1+Wu+CzTn+x7OmNUNxqZZf0bKUQFi7u tVAxFkefUKACP2I2uShpo2kPdhoRmYmdpovMLF2yppH+QJWPJv1h5t2laXdE2XON pmTrTvtYUjaZXv2kH8skQ6CmKqq1IXx7nUwrh2YiY9qv66JLjS3VpZ/yMt+NBka+ 9uP5+PwSIZY9oh7zNeKZYS/jZoa2Cs2odt6IDmHdMR/BQJ4MUKHbyilXsSBwkuFj ZAG9+EVdT9X7k9kOgGVlM62CJ+9mqU1Ql8EXQbC3ycGopJX8Nu9LrK5IMgK8nW0D QhmJNJ4oif5nRgJsP8VuA== 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= 1757339692; x=1757426092; bh=koMqeES2tH56wcG7rkvF2aRD2nxc6VqC9XQ s3LmNwfg=; b=A5TRi9Uka1txd/QeFd0ytFIhLyPUjXQ+uX/DdjB2GWXuPuv2NSc qmcxrefcOJMJ07kHAy+zr57/8zdY7rJP6DNx05wSv0ksEckJLGlXax2HhvBUy6Du oeDxSn8yV2r8qxyyRQM3hULJxYopVHIsvZbM7E4b5oKShV6ortN8FMnWNBWvG3/d B8EGk8lIq1RYtkzDbi78yVAfzCv1CNwliZXfXEHpqi8te3xzHNo0t/piAGL42MLL fJlzl9y1uSpM34zH2nXP7rhZ2hjQmnW6QyBh1GhETaAKhZWDl6+nWQQXMzrJAOaO pn14zmXaYiBeUrYrDEPHVp1AhXNx23xStjA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddujeejudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfhfgggtuggjsehttdertddttdejnecuhfhrohhmpefurggsrhhinhgr ucffuhgsrhhotggruceoshgusehquhgvrghshihsnhgrihhlrdhnvghtqeenucggtffrrg htthgvrhhnpeeuhffhfffgfffhfeeuiedugedtfefhkeegteehgeehieffgfeuvdeuffef gfduffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsugesqhhuvggrshihshhnrghilhdrnhgvthdpnhgspghrtghpthhtohepuddtpdhmohgu 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:54:51 -0400 (EDT) Date: Mon, 8 Sep 2025 15:54:50 +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 Subject: Re: [PATCH v2 net-next 4/9] ipv4: snmp: do not use SNMP_MIB_SENTINEL anymore Message-ID: References: <20250905165813.1470708-1-edumazet@google.com> <20250905165813.1470708-5-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-5-edumazet@google.com> 2025-09-05, 16:58:08 +0000, Eric Dumazet wrote: > Use ARRAY_SIZE(), so that we know the limit at compile time. > > Signed-off-by: Eric Dumazet > --- > net/ipv4/proc.c | 65 +++++++++++++++++++++++++------------------------ > 1 file changed, 33 insertions(+), 32 deletions(-) Reviewed-by: Sabrina Dubroca -- Sabrina