Subject: Re: [PATCH RFC net-next 0/4] xdp: reuse generic skb XDP handling for veth

From: Jakub Kicinski <[email-masked]>
Date: Thu, 14 May 2026 17:54:16 -0700

On Sat,  9 May 2026 10:48:54 +0200 Maciej Fijalkowski wrote:
>   - the INDIRECT_CALL for taking the COW path; I wanted to preserve
>     existing behavior, but is it really needed or maybe it would be
>     possible to come up with conditions that would cover both generic
>     XDP path and veth?

Yes, the conditions are almost identical. 
I think we can OR them all together (removing dups like 
skb_head_is_locked() + cloned; skb_shinfo(skb)->nr_frags
and skb_is_nonlinear()