diff options
author | Ian Gudger <igudger@google.com> | 2019-11-12 20:37:40 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-12 20:39:04 -0800 |
commit | 2c6c9af904c99371fe4381517375cd114917db59 (patch) | |
tree | f12cf8b56246827a1cc3d8e9f44992dc7f29c244 /pkg/tcpip/header/eth_test.go | |
parent | ca9cba66d2062811db9fa2b89a610f8eaa13fe99 (diff) |
Add UDP SO_REUSEADDR/SO_REUSEPORT conversion tests.
Add additional tests for UDP SO_REUSEADDR and SO_REUSEPORT interaction.
If all existing all currently bound sockets as well as the current binding
socket have SO_REUSEADDR, or if all existing all currently bound sockets as
well as the current binding socket have SO_REUSEPORT, binding a currently bound
address is allowed. This seems odd since it means that the
SO_REUSEADDR/SO_REUSEPORT behavior can change with the binding of additional
sockets.
PiperOrigin-RevId: 280116163
Diffstat (limited to 'pkg/tcpip/header/eth_test.go')
0 files changed, 0 insertions, 0 deletions