Subject: Re: [PATCH net v2] net: Clear skb metadata in LWT BPF xmit

From: Jakub Sitnicki <[email-masked]>
Date: Tue, 19 May 2026 11:47:49 +0200

On Mon, May 18, 2026 at 04:18 PM -07, Jakub Kicinski wrote:
> On Thu, 14 May 2026 12:47:09 +0200 Jakub Sitnicki wrote:
>> +		/* LWT BPF programs cannot access skb metadata but can corrupt
>> +		 * it with helpers that operate on skb headroom. Drop it.
>> +		 */
>> +		skb_metadata_clear(skb);
>
> Sashiko has a point, right? Is there something in LWT which would
> prevent us from working on clones?

Totally. I've just been spread a little thin lately.

We have a bpf/selftest that uses tc act mirred that exercises this
scenario that I need to extend.

In general, anything high/med from LLMs won't go unaddressed.