Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3473505rwb; Tue, 16 Aug 2022 03:50:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR4zYohiZYakBmOY0IzTd/D1IT5fMezV8FGTQi9OwiXMKHIbMe+RT5/3hgGNtnTNkRtMlacQ X-Received: by 2002:a17:902:d4d2:b0:16e:fe70:ca7e with SMTP id o18-20020a170902d4d200b0016efe70ca7emr21452108plg.11.1660647014545; Tue, 16 Aug 2022 03:50:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660647014; cv=none; d=google.com; s=arc-20160816; b=UXXwT/kKJOXu7Y1X3tatrljEQLQYGeS7/k+/VK/0CdyoCajzR687Es/1jLLT+UW6wD 0aRL9U+2SKvwzuPc8hSWWtpKoaj8GNXxca6Uu5odYqUX5G3EYSlMfb49C2HpU99duD4+ e74msfokAJ0zOkA8ii0tLgF9AgPDcyDuYJlO2RNHdlbU/T/2zMYvo54LxI32miO9nUcS xQFImK1WAjyEMNbecNrDWBvv79m2HL6/FtfXufCUDLy9tjs2JmAPcJ0LKZt5XinmV0U3 tzxDn5otisii9WtD2xwTAZkh6gF0PHQJlK7r8s569UbB3vY5eUoO8FUwwED3p4P/eWsn 6Baw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9xvU49cCP83UqkP//N32fZC9wEbw1ILqXRXoXNihOac=; b=v+iNUh8CNfwhDdWNNF1naNJ0QJlEoIJ/R/Gv7XPuSnhY/P60FXuFHKo7s3aQAKaFqE IRiFUez4BBs8trL6c8mSVBBlGfGHLGKFmIn0317XUsq4RhY7EssvkChpoApBm5Y9ej16 vhvfv7wd1/k1LsI/eSkgLn+p9i6vTu3T2AmSjld7M0atzRvZoA6DMZCcanOGGKjUudLw 5Ef1sRkKf7f9m6dXlOO/ZKyCdC/23phCBJI5txJyQYiC7+zncnnhNNadYSWn4+S1QdBJ BBULgQvyd6ZSTW7NbfECnw7JAuP5DaPVE6EFPKjtRD8n8BUIkXknTtrXCwoGvdJTvuCh WY7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=POa0hku6; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u12-20020a170902e5cc00b00169ff93b923si15073818plf.48.2022.08.16.03.50.03; Tue, 16 Aug 2022 03:50:14 -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=@linuxfoundation.org header.s=korg header.b=POa0hku6; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233860AbiHPJzv (ORCPT + 99 others); Tue, 16 Aug 2022 05:55:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234144AbiHPJzR (ORCPT ); Tue, 16 Aug 2022 05:55:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AA8D760D3; Tue, 16 Aug 2022 02:15:55 -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 ams.source.kernel.org (Postfix) with ESMTPS id 210F0B81600; Tue, 16 Aug 2022 09:15:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BDA8C433C1; Tue, 16 Aug 2022 09:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660641352; bh=Wdxre7FFhDBD5lnB7uNrwJnK1gXcfMGy4iZmPUWmkpw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=POa0hku6HzuNL8VJQGSmnMS1A32/ZlsJR0Kw9BwSJZMzHwh51QVTZyYVG0PxvJ3tC pfpTxRVAItzgrMTdAa4WlbPkcnOrt/CNeS9NGXKPsQCN1Ah66RU/nSY0wejAae0IUc Qtpa3op3cFOMJDYgv409xFqnEB/4hayJI1T9Xyjk= Date: Tue, 16 Aug 2022 11:15:49 +0200 From: Greg Kroah-Hartman To: Florian Westphal Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Pablo Neira Ayuso , Sasha Levin Subject: Re: [PATCH 5.15 154/779] netfilter: nf_tables: add rescheduling points during loop detection walks Message-ID: References: <20220815180337.130757997@linuxfoundation.org> <20220815180343.899696572@linuxfoundation.org> <20220815185822.GA26513@breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815185822.GA26513@breakpoint.cc> 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 On Mon, Aug 15, 2022 at 08:58:22PM +0200, Florian Westphal wrote: > Greg Kroah-Hartman wrote: > > From: Florian Westphal > > > > [ Upstream commit 81ea010667417ef3f218dfd99b69769fe66c2b67 ] > > > > Add explicit rescheduling points during ruleset walk. > > NAK. There is a partial revert pending. > > > @@ -9225,9 +9227,13 @@ static int nf_tables_check_loops(const struct nft_ctx *ctx, > > break; > > } > > } > > + > > + cond_resched(); > > } > > > > list_for_each_entry(set, &ctx->table->sets, list) { > > + cond_resched(); > > Can't be used here, this can be called from atomic context. Thanks, now dropped from all branches. greg k-h