diff options
author | Marek Majkowski <marek@cloudflare.com> | 2020-09-25 13:20:28 +0200 |
---|---|---|
committer | Marek Majkowski <marek@cloudflare.com> | 2020-09-25 13:23:52 +0200 |
commit | 6f5114446a7952d8b2b3098b2845e660d38d4fe1 (patch) | |
tree | 981db68fbc6c56ac2df368efd6dd5f5a98f699fd /pkg/state/tests/string_test.go | |
parent | d201feb8c5e425bfa8abc905f24d49b268520aec (diff) |
Swallow SO_RCVBUFFORCE and SO_SNDBUFFORCE errors on SOCK_RAW sockets
In --network=sandbox mode, we create SOCK_RAW sockets on the given
network device. The code tries to force-set 4MiB rcv and snd buffers
on it, but in certain situations it might fail. There is no reason
for refusing the sandbox startup in such case - we should bump the
buffers to max availabe size and just move on.
Diffstat (limited to 'pkg/state/tests/string_test.go')
0 files changed, 0 insertions, 0 deletions