[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzYVb1NY=GxBCqTWS1e7_+pbOXg3GsM+JXsGNZS30MGyQQ@mail.gmail.com>
Date: Tue, 28 Jul 2020 11:39:39 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: John Fastabend <john.fastabend@...il.com>
Cc: Roman Gushchin <guro@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...nel.org>,
Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>
Subject: Re: [bpf-next PATCH] bpf, selftests: use ::1 for localhost in tcp_server.py
On Tue, Jul 28, 2020 at 7:40 AM John Fastabend <john.fastabend@...il.com> wrote:
>
> Using localhost requires the host to have a /etc/hosts file with that
> specific line in it. By default my dev box did not, they used
> ip6-localhost, so the test was failing. To fix remove the need for any
> /etc/hosts and use ::1.
>
> I could just add the line, but this seems easier.
>
> Signed-off-by: John Fastabend <john.fastabend@...il.com>
> ---
Makes sense.
Acked-by: Andrii Nakryiko <andriin@...com>
> tools/testing/selftests/bpf/tcp_client.py | 2 +-
> tools/testing/selftests/bpf/tcp_server.py | 2 +-
> tools/testing/selftests/bpf/test_netcnt.c | 4 ++--
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
[...]
Powered by blists - more mailing lists