Re: [bpf-next PATCH] bpf, selftests: use ::1 for localhost in tcp_server.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 28, 2020 at 7:40 AM John Fastabend <john.fastabend@xxxxxxxxx> 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@xxxxxxxxx>
> ---

Makes sense.

Acked-by: Andrii Nakryiko <andriin@xxxxxx>


>  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(-)
>

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux