[Devel] [PATCH hci-8.1 2/2] ms/selftests/xsk: fix number of Tx frags in invalid packet

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Mon Nov 16 16:13:16 MSK 2026


> From: Larysa Zaremba <larysa.zaremba at intel.com>
> 
> The issue occurs in TOO_MANY_FRAGS test case when xdp_zc_max_segs is set to
> an odd number.
> 
> TOO_MANY_FRAGS test case contains an invalid packet consisting of
> (xdp_zc_max_segs) frags. Every frag, even the last one has XDP_PKT_CONTD
> flag set. This packet is expected to be dropped. After that, there is a
> valid linear packet, which is expected to be received back.
> 
> Once (xdp_zc_max_segs) is an odd number, the last packet cannot be
> received, if packet forwarding between Rx and Tx interfaces relies on
> the ethernet header, e.g. checks for ETH_P_LOOPBACK. Packet is malformed,
> if all traffic is looped.
> 
> [ ... ]
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-154852
> Feature: fix selftests
> 
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261116130936.612078-1-eva.kurchatova@virtuozzo.com?part=2




More information about the Devel mailing list