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()