[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e96aabd9-1519-4bc0-a8eb-776d3d224398@linux.dev>
Date: Tue, 8 Jul 2025 16:30:09 -0700
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: Jordan Rife <jordan@...fe.io>
Cc: Daniel Borkmann <daniel@...earbox.net>,
Willem de Bruijn <willemdebruijn.kernel@...il.com>,
Kuniyuki Iwashima <kuniyu@...gle.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Stanislav Fomichev <stfomichev@...il.com>, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH v4 bpf-next 02/12] bpf: tcp: Make sure iter->batch always
contains a full bucket snapshot
On 7/8/25 4:16 PM, Martin KaFai Lau wrote:
>
> How about directly figuring out the next start_sk here?
> The next start_sk should be the sk_nulls_next() of the
> iter->batch[iter->end_sk - 1]?
I take it back. iter->batch[iter->end_sk - 1] is not enough. It still needs to
do the seq_sk_match() test. I can't think of a better way. Agree to keep your
current approach.
Powered by blists - more mailing lists