diff options
author | Andrei Vagin <avagin@google.com> | 2020-10-31 01:17:29 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-31 01:19:40 -0700 |
commit | df88f223bb5474a462da65ede6f266eb52f1b2ef (patch) | |
tree | e01ce7b4c4a27ff498f8b5ce96bf30d0ee2b3bee /test/syscalls/BUILD | |
parent | 4eb1c87e8033520981cce19dea7cde5f85f07737 (diff) |
net/tcpip: connect to unset loopback address has to return EADDRNOTAVAIL
In the docker container, the ipv6 loopback address is not set,
and connect("::1") has to return ENEADDRNOTAVAIL in this case.
Without this fix, it returns EHOSTUNREACH.
PiperOrigin-RevId: 340002915
Diffstat (limited to 'test/syscalls/BUILD')
-rw-r--r-- | test/syscalls/BUILD | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD index f66a9ceb4..b5a4ef4df 100644 --- a/test/syscalls/BUILD +++ b/test/syscalls/BUILD @@ -695,6 +695,10 @@ syscall_test( ) syscall_test( + test = "//test/syscalls/linux:socket_ip_unbound_netlink_test", +) + +syscall_test( test = "//test/syscalls/linux:socket_netdevice_test", ) |