Re: [PATCH v2] selftests/bpf: Validate UDP length in cls_redirect test

2025-06-07 Thread Suchit K
> I don't quite see the point. > This is a test prog. It's not supposed to be used as production code. It was marked as a TODO and so I sent a patch for it. I'm sorry I didn't think of the practical implications of it.

Re: [PATCH v2] selftests/bpf: Validate UDP length in cls_redirect test

2025-06-06 Thread Alexei Starovoitov
On Mon, Jun 2, 2025 at 10:28 PM Suchit Karunakaran wrote: > > From: Suchit > > Add validation step to ensure that the UDP payload is > long enough to contain the expected GUE and UNIGUE encapsulation > headers > > Signed-off-by: Suchit > --- > > Changes since v2: > - Rebase > > tools/testing/se