google / google/gvisor

Netstack should double sndbuf/rcvbuf values to match linux.

Open
#674 0 comments 0 reactions 0 assignees View on GitHub
area: networking type: enhancement
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

Linux doubles the value specified in SO_RCVBUF/SO_SNDBUF setsockopt calls and returns the doubled value in getsockopt. Netstack today does not match this behaviour as we use it to strictly control only the data held in the buffers and not to account for overheads like linux. But maybe for compat purposes we should match the behaviour.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.