Message ID | 20210113040040.50813-9-dsahern@kernel.org |
---|---|
State | New |
Headers | show |
Series | [net-next,v3,01/13] selftests: Move device validation in nettest | expand |
diff --git a/tools/testing/selftests/net/nettest.c b/tools/testing/selftests/net/nettest.c index dded36a7db41..b436e2942e86 100644 --- a/tools/testing/selftests/net/nettest.c +++ b/tools/testing/selftests/net/nettest.c @@ -1720,6 +1720,12 @@ static int ipc_child(int fd, struct sock_args *args) server_mode = 1; /* to tell log_msg in case we are in both_mode */ + /* when running in both mode, address validation applies + * solely to client side + */ + args->has_expected_laddr = 0; + args->has_expected_raddr = 0; + rc = do_server(args, fd); free(outbuf);