[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iJDWUE5mTSuWQaHO0SfyXLTso5Cp=rYzRGwWoZC_gHmmg@mail.gmail.com>
Date: Tue, 15 Feb 2022 09:27:21 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
netdev <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
Jiri Pirko <jiri@...nulli.us>,
syzbot <syzkaller@...glegroups.com>
Subject: Re: [PATCH net] net: sched: limit TC_ACT_REPEAT loops
On Mon, Feb 14, 2022 at 5:54 PM Eric Dumazet <edumazet@...gle.com> wrote:
>
> > > + repeat_ttl = 10;
> >
> > Not sure if there is any use case of repeat action with 10+ repeats...
> > Use a sufficiently larger one to be 100% safe?
>
> I have no idea of what the practical limit would be ?
>
> 100, 1000, time limit ?
Jamal, you already gave your Ack, but Cong is concerned about the 10 limit.
What should I used for v2 ?
Honestly I fail to see a valid reason for TC_ACT_REPEAT more than few times,
but I have no idea of what real world actions using REPEAT look like.
Thanks.
Powered by blists - more mailing lists