Re: [PATCH net v2] xsk: reject undersized tx_metadata at runtime validation
From: Cen Zhang
Date: Thu Jul 23 2026 - 08:12:25 EST
On Wed, Jul 22, 2026 at 10:55:17AM -0700, Stanislav Fomichev wrote:
> Hmm, the AI review points out another set of TOCTOU issues :-/ I wonder
> whether want to go all in and rewrite the users to have a copy
> of metadata? Something like the following below, build tested only,
> any issues with that?
I applied your proposed patch and tested it against my local reproducer
-- the bug is gone.
> Maybe you want to take ownership of this patch and run the proposed
> resolution against internal AI review?
Please go ahead and carry this forward. Happy to help test further
if needed.