mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-27 03:55:36 +00:00
bd93c3067e
I noticed we were allocating these every time when they could just share the same memory. Rather than document ownership, just lock it down with a view. I was considering doing all of the fields but decided to just do this one first as test to see how infectious it became. Conclusion: not very. Updates #cleanup (while working towards tailscale/corp#20514) Change-Id: I8ce08519de0c9a53f20292adfbecd970fe362de0 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> |
||
---|---|---|
.. | ||
fake.go | ||
ifstatus_noop.go | ||
ifstatus_windows.go | ||
linkattrs_linux.go | ||
linkattrs_notlinux.go | ||
mtu_test.go | ||
mtu.go | ||
tap_linux.go | ||
tap_unsupported.go | ||
tstun_stub.go | ||
tun_features_linux.go | ||
tun_features_notlinux.go | ||
tun_linux.go | ||
tun_macos.go | ||
tun_notwindows.go | ||
tun_windows.go | ||
tun.go | ||
wrap_test.go | ||
wrap.go |