[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0f304e2b-f49e-a3c6-9f8a-0061b7665e5f@intel.com>
Date: Mon, 13 Feb 2023 15:03:03 +0100
From: Alexander Lobakin <alexandr.lobakin@...el.com>
To: Toke Høiland-Jørgensen <toke@...hat.com>
CC: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <martin.lau@...ux.dev>,
Song Liu <song@...nel.org>,
Jesper Dangaard Brouer <hawk@...nel.org>,
Jakub Kicinski <kuba@...nel.org>, <bpf@...r.kernel.org>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH bpf] bpf, test_run: fix &xdp_frame misplacement for
LIVE_FRAMES
From: Toke Høiland-Jørgensen <toke@...hat.com>
Date: Fri, 10 Feb 2023 18:38:45 +0100
> Alexander Lobakin <alexandr.lobakin@...el.com> writes:
>
>> From: Toke Høiland-Jørgensen <toke@...hat.com>
>> Date: Thu, 09 Feb 2023 21:04:38 +0100
[...]
> both of those assignments refer to flex arrays, which seems a bit
> inconsistent. The second one works because it's assigning to a void
> pointer, so the compiler doesn't complain about the type mismatch; but
> it should work with just 'data = head->data' as well, so can we update
> that as well for consistency?
Aaaah, I see, you're right. Will do in a minute.
>
> -Toke
Thanks,
Olek
Powered by blists - more mailing lists