test: Initialize the data struct to set stop member to 0
The send_thread() will do an early return if the stop member is true,
which can happen in case we do not initialize the memory. Otherwise
we will then get a failure with -EALREADY instead of the expected
ECANCELED.
@@ -176,6 +176,7 @@ static int test_accept_timeout(int do_connect, unsigned long timeout)
recv_thread_ready = 0;
recv_thread_done = 0;
+ memset(&d, 0, sizeof(d));
d.timeout = timeout;
if (!do_connect) {
d.expected[0] = -EINTR;
