Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2890413rwb; Mon, 15 Aug 2022 13:24:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR5WuVXFu3lbxqUOkm9gUP+OVhUrqSALRFZQ/BtKbh1Tr7HPYx9CbzFj1oyD6i5Jae8vaWdc X-Received: by 2002:a05:6402:3506:b0:43e:954b:bc8a with SMTP id b6-20020a056402350600b0043e954bbc8amr16256651edd.266.1660595076434; Mon, 15 Aug 2022 13:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660595076; cv=none; d=google.com; s=arc-20160816; b=wY6na/mbVMp0Ww6WiJqk9txQfPLd1BuS3He+MsoqlQphxjNoMwO+0Xr4xZVsBzEL/z WAVZzVQ7nFbua+TUhAdOs8SEEcnU4Fvu2PkKxadAi83fuE3tkLaLJLa9SmOmiZfo5CzU FaGX1Nheb+5xQzvf4YwvSuHjvJrGTannB92Zb7JfaysnYcNTPrp2l9kgaBjvHWF8bO06 jKc8U46UVK2B/4cR+n7eyBHHgCd0zYX5UjQduKpTetCbmOwD8RG1ttggbH+HOAQccVlW Oj9tPoBS8U7rZUTgflqqHPFUEYF7N8H2IREtOh8cQpktSgmRzS85BBmpi+DwvA4sri6P +iLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=stede0TGamxqPG6AnhvH4NDJMYrEdNeA1zPTwFrVyXg=; b=QK/twbzZtCKAktJ8LvtR4G6J8XemRsLIhzQqbvxpZVwlTiF2JjRPVs2tQcZfwWp0we EzO9bR816QNz3MdRN0j1bYEU8eydF9v4tFsadrgPY4XjgfkrC/JCzWcuTl1GJUv75XDo C9tWM593PRrD+f1mYHZpiW9Z3/L2wUI0BFrTEFoHJaQGjdLA+r+tLDjpO6nUVngwbz4E HOoMnIHqNFO0tOB2X9YZTD6BTHLmpSfKE95OYlmIv1B+CUkn8OFRb1++IKmCZx9Gapz8 kaIMZhgmb5w0x473apZJTCw64QIyolJ+wwujyWtsAOq3rQC0ynkug64M9a9Pg9zbyptz 1clw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lz5-20020a170906fb0500b00730c1b3d753si6725234ejb.424.2022.08.15.13.24.07; Mon, 15 Aug 2022 13:24:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244524AbiHOUSs (ORCPT + 99 others); Mon, 15 Aug 2022 16:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346815AbiHOUMW (ORCPT ); Mon, 15 Aug 2022 16:12:22 -0400 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:12e:520::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8A3A85FA3; Mon, 15 Aug 2022 11:58:24 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1oNfI6-00008a-6K; Mon, 15 Aug 2022 20:58:22 +0200 Date: Mon, 15 Aug 2022 20:58:22 +0200 From: Florian Westphal To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Florian Westphal , Pablo Neira Ayuso , Sasha Levin Subject: Re: [PATCH 5.15 154/779] netfilter: nf_tables: add rescheduling points during loop detection walks Message-ID: <20220815185822.GA26513@breakpoint.cc> References: <20220815180337.130757997@linuxfoundation.org> <20220815180343.899696572@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815180343.899696572@linuxfoundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,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 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.