From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 48A14C3DA59 for ; Mon, 15 Jul 2024 12:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:From:Cc:To:Subject: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:References:List-Owner; bh=RLaRz3FOeOst4dEXnhVZRIQyDHF3ZYFiKSS0cArrLEE=; b=wE+KgvAnu6m2pZc1AAdSbA0E1m csjY3tMUbBaTFBy77eiG1U3/9v55etMbqoxq6T1E1VFjCPyibaxHtg6COR86oV1HMQsZL82yPmozK PH1wbtK41Q7IHR8jvfHJCZVdfbhCmpo/xymKG9QC+X19KrpcALw/n8MDxsLigM2nsByLMp2/y8mJ6 G7aEGUMGNQvJr98glhl153Y/6phAN3WQXkV2PLiwaAo2cE1tqjGGBr1kKmyCi31ruNoukt7O0W1rr 8lgu3PccCh2cdf1uUjZFLBD6uIewvkMKUX3l6nBKQ3O7DWbVv88sdYh4IegPUv+n/He9q7GKfbQEo l9BH7dPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTKYh-00000006yTk-2NRB; Mon, 15 Jul 2024 12:11:59 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTKXt-00000006y70-26Ce; Mon, 15 Jul 2024 12:11:11 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id ECDA860CF6; Mon, 15 Jul 2024 12:11:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 181ECC32782; Mon, 15 Jul 2024 12:11:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721045468; bh=OLla2ot6MVPGEzXdjETLGzGUbb60Y7lf57KZvicLz1I=; h=Subject:To:Cc:From:Date:In-Reply-To:From; b=yXbfmtS6ij6QYfl4lWR8YyFlX7pO4NIqoc3k28NPDPoI8bs6Ln+DEKD2Sv1/d20pf +WJczwkAFqcQk901zfIpviysORIY0pd8BhMTMhvUbIHJ35paGueYJcUsW+8vFP9/+E l3RIac46bfydGITUOsTlyhOZ+8SCVL78Amwp06bw= Subject: Patch "[PATCH] selftests/net: fix gro.c compilation failure due to non-existent opt_ipproto_off" has been added to the 6.6-stable tree To: 0x7f454c46@gmail.com,8B1717DB-8C4A-47EE-B28C-170B630C4639@cloudflare.com,afaerber@suse.de,alexander@mihalicyn.com,bigeasy@linutronix.de,bpoirier@nvidia.com,davem@davemloft.net,dev@openvswitch.org,edumazet@google.com,geliang@kernel.org,gregkh@linuxfoundation.org,herbert@gondor.apana.org.au,idosch@nvidia.com,ignat@cloudflare.com,jhubbard@nvidia.com,kuba@kernel.org,linux-actions@lists.infradead.org,linux-arm-kernel@lists.infradead.org,liuhangbin@gmail.com,llvm@lists.linux.dev,manivannan.sadhasivam@linaro.org,martineau@kernel.org,matttbe@kernel.org,mptcp@lists.linux.dev,pabeni@redhat.com,petrm@nvidia.com,pshelar@ovn.org,razor@blackwall.org,shuah@kernel.org,steffen.klassert@secunet.com,willemdebruijn.kernel@gmail.com,zhujun2@cmss.chinamobile.com Cc: From: Date: Mon, 15 Jul 2024 14:11:05 +0200 In-Reply-To: <20240712235150.99175-1-jhubbard@nvidia.com> Message-ID: <2024071505-recycler-proclaim-10c1@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-stable: commit X-Patchwork-Hint: ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240715_051109_941252_15F502BC X-CRM114-Status: GOOD ( 12.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is a note to let you know that I've just added the patch titled [PATCH] selftests/net: fix gro.c compilation failure due to non-existent opt_ipproto_off to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: selftests-net-fix-gro.c-compilation-failure-due-to-non-existent-opt_ipproto_off.patch and it can be found in the queue-6.6 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From jhubbard@nvidia.com Mon Jul 15 14:10:26 2024 From: John Hubbard Date: Fri, 12 Jul 2024 16:51:50 -0700 Subject: [PATCH] selftests/net: fix gro.c compilation failure due to non-existent opt_ipproto_off To: Greg Kroah-Hartman Cc: "Shuah Khan" , "David S . Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Steffen Klassert" , "Herbert Xu" , "Andreas Färber" , "Manivannan Sadhasivam" , "Matthieu Baerts" , "Mat Martineau" , "Geliang Tang" , "Pravin B Shelar" , "Willem de Bruijn" , "Alexander Mikhalitsyn" , zhujun2 , "Petr Machata" , "Ido Schimmel" , "Hangbin Liu" , "Nikolay Aleksandrov" , "Benjamin Poirier" , "Sebastian Andrzej Siewior" , "Dmitry Safonov" <0x7f454c46@gmail.com>, netdev@vger.kernel.org, linux -arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, mptcp@lists.linux.dev, dev@openvswitch.org, linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, "John Hubbard" , stable@vger.kernel.org, "Ignat Korchagin" Message-ID: <20240712235150.99175-1-jhubbard@nvidia.com> From: John Hubbard Linux 6.6 does not have an opt_ipproto_off variable in gro.c at all (it was added in later kernel versions), so attempting to initialize one breaks the build. Fixes: c80d53c484e8 ("selftests/net: fix uninitialized variables") Cc: # 6.6 Reported-by: Ignat Korchagin Closes: https://lore.kernel.org/all/8B1717DB-8C4A-47EE-B28C-170B630C4639@cloudflare.com/#t Signed-off-by: John Hubbard Signed-off-by: Greg Kroah-Hartman --- tools/testing/selftests/net/gro.c | 3 --- 1 file changed, 3 deletions(-) --- a/tools/testing/selftests/net/gro.c +++ b/tools/testing/selftests/net/gro.c @@ -113,9 +113,6 @@ static void setup_sock_filter(int fd) next_off = offsetof(struct ipv6hdr, nexthdr); ipproto_off = ETH_HLEN + next_off; - /* Overridden later if exthdrs are used: */ - opt_ipproto_off = ipproto_off; - if (strcmp(testname, "ip") == 0) { if (proto == PF_INET) optlen = sizeof(struct ip_timestamp); Patches currently in stable-queue which might be from jhubbard@nvidia.com are queue-6.6/selftests-net-fix-gro.c-compilation-failure-due-to-non-existent-opt_ipproto_off.patch