Re: [PATCH net v2] xsk: reject undersized tx_metadata at runtime validation
From: Maciej Fijalkowski
Date: Thu Jul 23 2026 - 08:19:35 EST
On Thu, Jul 23, 2026 at 08:06:10AM -0400, Cen Zhang wrote:
> 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.
Let's see whether Stan is ok with that, you can get credit via
Reported-by: tag or you can continue working on this, that was only a
suggestion, so I hope you did not find it offensive.