diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-07-15 14:55:12 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-15 14:56:39 -0700 |
commit | 857d03f258ffafb815698917f2a1ee9e7e265464 (patch) | |
tree | 06202339ae9a0530a304ba81a7288f3a81520b2b /pkg/tcpip/transport/tcp/protocol.go | |
parent | fef90c61c6186c113cfdb0bbcf53f4ca70f9741a (diff) |
Add support for SO_ERROR to packet sockets.
Packet sockets also seem to allow double binding and do not return an error on
linux. This was tested by running the syscall test in a linux namespace as root
and the current test DoubleBind fails@HEAD.
Passes after this change.
Updates #173
PiperOrigin-RevId: 321445137
Diffstat (limited to 'pkg/tcpip/transport/tcp/protocol.go')
0 files changed, 0 insertions, 0 deletions