diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-06-26 17:49:32 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-26 17:51:04 -0700 |
commit | 8dbeac53ce1b3c1cf4a5f2f0ccdd7196f4656fd8 (patch) | |
tree | 7f7aba5579e946afd3e9bc76e70a2bedf52de9d4 /pkg/sync/seqcount.go | |
parent | aed71839769be3106896a534b315c128ca15e46b (diff) |
Implement SO_NO_CHECK socket option.
SO_NO_CHECK is used to skip the UDP checksum generation on a TX socket
(UDP checksum is optional on IPv4).
Test:
- TestNoChecksum
- SoNoCheckOffByDefault (UdpSocketTest)
- SoNoCheck (UdpSocketTest)
Fixes #3055
PiperOrigin-RevId: 318575215
Diffstat (limited to 'pkg/sync/seqcount.go')
0 files changed, 0 insertions, 0 deletions