Re: [net-next 2/3] selftests/net: Test PACKET_STATISTICS drops
From: Joe Damato
Date: Fri Apr 03 2026 - 13:03:39 EST
On Fri, Apr 03, 2026 at 11:26:01AM -0400, Willem de Bruijn wrote:
[...]
> > +
> > + if (cfg_drop) {
> > + check_packet_stats(fds);
> > + goto out;
> > + }
>
> can this not use the check_packet_stats added in the previous patch
> right below?
IIRC: no it can't because when I tested this the do_rx hits the error path in
the drop case which makes sense because of the tiny receive buffer.