mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 22:43:04 -04:00
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: 1e42f73fd3 ("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>
This commit is contained in:
committed by
Jakub Kicinski
parent
af7273cc7a
commit
c01a6e5b2e
@@ -4,6 +4,8 @@
|
||||
// send data with MSG_FASTOPEN | MSG_ZEROCOPY and verify that the
|
||||
// kernel returns the notification ID.
|
||||
|
||||
--send_omit_free // do not reuse send buffers with zerocopy
|
||||
|
||||
`./defaults.sh
|
||||
./set_sysctls.py /proc/sys/net/ipv4/tcp_fastopen=0x207`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user