[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <6ce70dc2-7c4a-4048-aa45-9954082c0f29@www.fastmail.com>
Date: Mon, 01 Aug 2022 10:16:46 -0600
From: "Daniel Xu" <dxu@...uu.xyz>
To: "Kumar Kartikeya Dwivedi" <memxor@...il.com>
Cc: "bpf@...r.kernel.org" <bpf@...r.kernel.org>,
"Alexei Starovoitov" <ast@...nel.org>,
"Daniel Borkmann" <daniel@...earbox.net>,
"Andrii Nakryiko" <andrii@...nel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf-next 2/2] selftests/bpf: Add connmark read/write test
Hi Kumar,
On Mon, Aug 1, 2022, at 8:51 AM, Kumar Kartikeya Dwivedi wrote:
> On Sat, 30 Jul 2022 at 21:40, Daniel Xu <dxu@...uu.xyz> wrote:
>>
>> Test that the prog can read/write to/from the connection mark. This
>> test is nice because it ensures progs can interact with netfilter
>> subsystem correctly.
>>
>
> Commit message is a bit misleading, where are you writing to ct->mark? :)
> The cover letter also mentions "reading and writing from nf_conn". Do
> you have patches whitelisting nf_conn::mark for writes?
> If not, drop the writing related bits from the commit log. The rest
> looks ok to me.
Ah good catch, thanks. I've neglected to actually test writing to the mark.
I'll follow up with another patch to enable writing to mark and testing it.
And in meantime let's just change the commit msg on this patchset.
I'm in the middle of a move right now so I probably can't respin the patch
for a few more days. Feel free to edit the commit msgs. Or I'll send it again
when I set my computer up.
[...]
Thanks,
Daniel
Powered by blists - more mailing lists