Netstack should double sndbuf/rcvbuf values to match linux.
Open
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
Assessment
This issue has not been assessed yet.