[net-next 0/3] Extend packet socket selftests

Joe Damato
2026-04-02T23:22:40Z

Greetings:

I was looking around the packet socket code and noticed there were a few
features that could be tested by extending the existing packet socket
tests.

I extended the test to test stats, drops, and auxdata and re-ran the tests.
The existing and new tests passed.

Thanks,
Joe

Joe Damato (3):
selftests/net: Test PACKET_STATISTICS
selftests/net: Test PACKET_STATISTICS drops
selftests/net: Test PACKET_AUXDATA

tools/testing/selftests/net/psock_snd.c | 131 +++++++++++++++++++++--
tools/testing/selftests/net/psock_snd.sh | 10 ++
2 files changed, 133 insertions(+), 8 deletions(-)

base-commit: f35340f2d653f1003602878403c901396ab03c17
--
2.52.0