[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2ccb3470-0218-4bca-af17-4f9bd1e758a3@linux.dev>
Date: Thu, 1 May 2025 11:54:55 -0700
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: Jordan Rife <jordan@...fe.io>
Cc: Aditi Ghag <aditi.ghag@...valent.com>,
Daniel Borkmann <daniel@...earbox.net>,
Willem de Bruijn <willemdebruijn.kernel@...il.com>,
Kuniyuki Iwashima <kuniyu@...zon.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH v6 bpf-next 4/7] bpf: udp: Use bpf_udp_iter_batch_item for
bpf_udp_iter_state batch items
On 4/28/25 11:00 AM, Jordan Rife wrote:
> diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
> index 57ac84a77e3d..866ad29e15bb 100644
> --- a/net/ipv4/udp.c
> +++ b/net/ipv4/udp.c
> @@ -3390,13 +3390,17 @@ struct bpf_iter__udp {
> int bucket __aligned(8);
> };
>
> +union bpf_udp_iter_batch_item {
> + struct sock *sock;
A nit. just noticed this.
Since it needs a respin, rename the pointer from "sock" to "sk". It should be
more consistent with most other places on the "struct socket *sock" / "struct
sock *sk" naming.
Powered by blists - more mailing lists