lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250721132411.05d9d0fd@kernel.org>
Date: Mon, 21 Jul 2025 13:24:11 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Martin KaFai Lau <martin.lau@...ux.dev>
Cc: Nimrod Oren <noren@...dia.com>, netdev@...r.kernel.org, Mohsin Bashir
 <mohsin.bashr@...il.com>, andrew+netdev@...n.ch, davem@...emloft.net,
 edumazet@...gle.com, pabeni@...hat.com, shuah@...nel.org, horms@...nel.org,
 cratiu@...dia.com, cjubran@...dia.com, mbloch@...dia.com,
 jdamato@...tly.com, gal@...dia.com, sdf@...ichev.me, ast@...nel.org,
 daniel@...earbox.net, hawk@...nel.org, john.fastabend@...il.com,
 nathan@...nel.org, nick.desaulniers+lkml@...il.com, morbo@...gle.com,
 justinstitt@...gle.com, bpf@...r.kernel.org,
 linux-kselftest@...r.kernel.org, llvm@...ts.linux.dev, tariqt@...dia.com,
 thoiland@...hat.com, Joanne Koong <joannelkoong@...il.com>
Subject: Re: [PATCH net-next V6 2/5] selftests: drv-net: Test XDP_PASS/DROP
 support

On Mon, 21 Jul 2025 12:43:57 -0700 Martin KaFai Lau wrote:
> On 7/21/25 4:43 AM, Nimrod Oren wrote:
> > To ensure correctness across all drivers, all direct accesses to packet
> > data should use these safer helper functions instead:
> > bpf_xdp_load_bytes() and bpf_xdp_store_bytes().  
> 
> Not sure if the test will be run on the older kernel. fwiw, there is a 
> bpf_dynptr_slice_rdwr() kfunc which was added in commit 66e3a13e7c2c.
> It uses bpf_xdp_pointer() underneath, so it can avoid a copy if the requested 
> data is contained in a single frag.

We discussed running the tests on stable but nothing materialized, yet.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ