lkml.org 
[lkml]   [2022]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 5.15 154/779] netfilter: nf_tables: add rescheduling points during loop detection walks
    Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
    > From: Florian Westphal <fw@strlen.de>
    >
    > [ 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.

    \
     
     \ /
      Last update: 2022-08-15 22:20    [W:2.176 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site