Files
tailscale/net
aza 0af7e75e25 net/sockopts: fix TestSetBufferSize on hosts with large default buffers
SetBufferSize sets the socket buffer to the requested size rather than
growing it, so on a host whose net.core.{r,w}mem_default is above the
7MiB the test asks for, the buffers legitimately shrink and the test
fails. Only assert that a buffer we asked to enlarge did not shrink.

Also log curSnd/newSnd, rather than the receive values twice, in the
SO_SNDBUF line.

Fixes #15994

Signed-off-by: aza <DevAza23@users.noreply.github.com>
2026-09-15 07:38:11 -07:00
..
2026-07-10 17:39:16 -07:00