Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp378442rwe; Wed, 24 Aug 2022 02:34:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR5uDAPduUbIcwNhamtBHkU/PUgcxjeqX15nUSvN5G/efiAsTZqc9kqjRrFJI9Z1KgFgVvaI X-Received: by 2002:a17:906:d54e:b0:73d:8a6d:8ba4 with SMTP id cr14-20020a170906d54e00b0073d8a6d8ba4mr2290534ejc.255.1661333646920; Wed, 24 Aug 2022 02:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661333646; cv=none; d=google.com; s=arc-20160816; b=FCo4P1al3mbwESZe6/0TZWc9YnqBinXXtFlHp5vTXZIR/R41PzXcBac4V8qAo7zo5T D1lW6wg94e6WD7F65tfWNV7JTsMcKRS/tjR+ldUZmdJj4XXMCJph20C0u137xrNON4jf s/r1PW/rWVwMIuaaQ5TOtnViCYG80FQLOeRhtGinzJezoOXujV04/DdIRk+pNnr9hN0l aWv3Byddjj71XgLIG4XqUJA4v1q2Og6vmJJR8fA+Fk8wtI3mesj+P0ohuuj6XX2TlgJA T7tiu3uIiHfGF55EkCXinhHfv4Rwn9Tege9dAazYZzdROddSZenMq0FX5hK44psDPmwM /Mww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=cRUT+SSKwuLIXI/qq2fm+i59qNp52pSvtmDMN/tcGNc=; b=PrShoBKP/hgJeqebpNJ9Ecu2bWHJYUZbKGP5keYWNu9rDmsyLbrfsqGl4nCuZeSX2Z a7H7/GgY2cJhxmgaY60HRRc3N/s/ceVj7ENrGCy1Jf+244Ewl5K6yGgXU7GwHVoga7jj uEfMqqWV7peLqy+anEOHJDCqg6El7C8V4zfQj79bsZZe3Nkd/h1AKuR2yw6NGR8HRBkp iq/k9WV53CAxXkNamAVJstdfgPKWCFSoIsOC+1F7//MjjwWMKwv9HvBzawNa+w9l+kMp Dv/pxgX498gTttxzJKXqskp7g4qbO/UQ/b2B+L3d1gbipcSg1iSVFpC4EsZiNApl4y4Q ZKAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TOqI0rtl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc14-20020a1709078a0e00b0073d865138fesi1740128ejc.645.2022.08.24.02.33.40; Wed, 24 Aug 2022 02:34:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TOqI0rtl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235671AbiHXJAT (ORCPT + 99 others); Wed, 24 Aug 2022 05:00:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233776AbiHXJAR (ORCPT ); Wed, 24 Aug 2022 05:00:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF9C450182; Wed, 24 Aug 2022 02:00:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 325D7617CA; Wed, 24 Aug 2022 09:00:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 83B74C433D6; Wed, 24 Aug 2022 09:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661331615; bh=LJwj98O5yiaSW8Agwscn4s0qxpBKY+diZqoJzIjHWIo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=TOqI0rtlhWyZsIK2mruk0XiDX8P+XHv2p2bj2uHCKD9847XUZd0pIAK/QCDgEDEtG nF3DqTCxZHtrbjhvgSKvsYhC82pDrsjzolVshoGhX/DbsSIMIIwCyc2/P9HQN7J9lH h+dAABHN7OkOkVIoQ0Ga9xf2CKT2OccMz5ZTcb+JOKxlJaCETl0WAgw5drRzv25uwn 73hsjl2tiabgl1mF8jloU6KXVHxez7dAv4YMbISO3oxKuY26EODoA7JUETprc2VKeS dee8lU+YYu/5+7xtqe7HKnjZ2T/jol/nPg3NJq6JRoSRuZY9BZrwj/10HlEmX2Vcaj rbCS9hEQToZ9w== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 62561E2A03C; Wed, 24 Aug 2022 09:00:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2 RESEND] net: neigh: don't call kfree_skb() under spin_lock_irqsave() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166133161539.23661.2735150323779560219.git-patchwork-notify@kernel.org> Date: Wed, 24 Aug 2022 09:00:15 +0000 References: <20220822025346.3758558-1-yangyingliang@huawei.com> In-Reply-To: <20220822025346.3758558-1-yangyingliang@huawei.com> To: Yang Yingliang Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, den@openvz.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, razor@blackwall.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Mon, 22 Aug 2022 10:53:46 +0800 you wrote: > It is not allowed to call kfree_skb() from hardware interrupt > context or with interrupts being disabled. So add all skb to > a tmp list, then free them after spin_unlock_irqrestore() at > once. > > Fixes: 66ba215cb513 ("neigh: fix possible DoS due to net iface start/stop loop") > Suggested-by: Denis V. Lunev > Signed-off-by: Yang Yingliang > > [...] Here is the summary with links: - [net,v2,RESEND] net: neigh: don't call kfree_skb() under spin_lock_irqsave() https://git.kernel.org/netdev/net/c/d5485d9dd24e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html