]> Gentwo Git Trees - linux/.git/commit
selftests/net: packetdrill: pass send_omit_free to MSG_ZEROCOPY tests
authorWillem de Bruijn <willemb@google.com>
Tue, 25 Nov 2025 23:35:05 +0000 (18:35 -0500)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Nov 2025 23:57:55 +0000 (15:57 -0800)
commitc01a6e5b2e4f21d31cf725b9f3803cb0280b1b8d
treeb1d2c1dc69ef855e91c4c2d15ab2ffddfb8a654a
parentaf7273cc7ae01f5b3e34e62f59588ce79fe50f79
selftests/net: packetdrill: pass send_omit_free to MSG_ZEROCOPY tests

The --send_omit_free flag is needed for TCP zero copy tests, to ensure
that packetdrill doesn't free the send() buffer after the send() call.

Fixes: 1e42f73fd3c2 ("selftests/net: packetdrill: import tcp/zerocopy")
Closes: https://lore.kernel.org/netdev/20251124071831.4cbbf412@kernel.org/
Suggested-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20251125234029.1320984-1-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
12 files changed:
tools/testing/selftests/net/packetdrill/tcp_syscall_bad_arg_sendmsg-empty-iov.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_basic.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_batch.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_client.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_closed.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_epoll_edge.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_epoll_exclusive.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_epoll_oneshot.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_fastopen-client.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_fastopen-server.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_maxfrags.pkt
tools/testing/selftests/net/packetdrill/tcp_zerocopy_small.pkt