diff mbox series

[liburing,v2,5/5] tests/zc: skip tcp w/ addr

Message ID 77860403d6fa96a9288e037ede9dcae23a4314e2.1662404421.git.asml.silence@gmail.com (mailing list archive)
State New
Headers show
Series zc tests improvements | expand

Commit Message

Pavel Begunkov Sept. 5, 2022, 10:06 p.m. UTC
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
---
 test/send-zerocopy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/test/send-zerocopy.c b/test/send-zerocopy.c
index f996f22..39c5c5d 100644
--- a/test/send-zerocopy.c
+++ b/test/send-zerocopy.c
@@ -390,7 +390,7 @@  static int test_inet_send(struct io_uring *ring)
 				continue;
 			if (!buffers_iov[buf_flavour].iov_base)
 				continue;
-			if (tcp && cork)
+			if (tcp && (cork || addr_arg))
 				continue;
 			if (mix_register && (!cork || fixed_buf))
 				continue;