diff options
author | Zeling Feng <zeling@google.com> | 2021-02-08 20:10:54 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-08 20:13:17 -0800 |
commit | 95500ece56f2acf34fcdc74e420f91beea888ada (patch) | |
tree | b49879185b622de9e330607275b3d9b3876abaaa /pkg/tcpip/stack/nic_test.go | |
parent | bf4968e17d7d08299493835a34af1a6d8551c375 (diff) |
Allow UDP sockets connect()ing to port 0
We previously return EINVAL when connecting to port 0, however this is not the
observed behavior on Linux. One of the observable effects after connecting to
port 0 on Linux is that getpeername() will fail with ENOTCONN.
PiperOrigin-RevId: 356413451
Diffstat (limited to 'pkg/tcpip/stack/nic_test.go')
0 files changed, 0 insertions, 0 deletions