public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH]network/netstress: bugfix for netstress/netstress.c
@ 2023-08-24 16:00 Li Min via ltp
  2023-08-22 13:18 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Li Min via ltp @ 2023-08-24 16:00 UTC (permalink / raw)
  To: ltp

eshutdown_cnt needs to be initialized.

Signed-off-by: Min Li <limin154@huawei.com>
---
 testcases/network/netstress/netstress.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/network/netstress/netstress.c b/testcases/network/netstress/netstress.c
index 6a888f2ee..fb6281cd0 100644
--- a/testcases/network/netstress/netstress.c
+++ b/testcases/network/netstress/netstress.c
@@ -384,6 +384,7 @@ void *client_fn(void *id)

 	inf.raddr_len = sizeof(inf.raddr);
 	inf.etime_cnt = 0;
+	inf.eshutdown_cnt = 0;
 	inf.timeout = wait_timeout;
 	inf.pmtu_err_cnt = 0;

--
2.33.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-22 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-24 16:00 [LTP] [PATCH]network/netstress: bugfix for netstress/netstress.c Li Min via ltp
2023-08-22 13:18 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox