hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/tools/testing/selftests/net/msg_zerocopy.c
....@@ -650,12 +650,13 @@
650650
651651 static void do_rx(int domain, int type, int protocol)
652652 {
653
+ const int cfg_receiver_wait_ms = 400;
653654 uint64_t tstop;
654655 int fd;
655656
656657 fd = do_setup_rx(domain, type, protocol);
657658
658
- tstop = gettimeofday_ms() + cfg_runtime_ms;
659
+ tstop = gettimeofday_ms() + cfg_runtime_ms + cfg_receiver_wait_ms;
659660 do {
660661 if (type == SOCK_STREAM)
661662 do_flush_tcp(fd);