Re: [net-next 2/3] selftests/net: Test PACKET_STATISTICS drops

Joe Damato
2026-04-03T17:02:22Z

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.