mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 07:13:56 -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 a packet with MSG_ZEROCOPY and receive the notification ID
|
||||
// repeat and verify IDs are consecutive
|
||||
|
||||
--send_omit_free // do not reuse send buffers with zerocopy
|
||||
|
||||
`./defaults.sh`
|
||||
|
||||
0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
|
||||
|
||||
Reference in New Issue
Block a user