You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/wgcfg
Brad Fitzpatrick 316afe7d02 util/checkchange: stop using deephash everywhere
Saves 45 KB from the min build, no longer pulling in deephash or
util/hashx, both with unsafe code.

It can actually be more efficient to not use deephash, as you don't
have to walk all bytes of all fields recursively to answer that two
things are not equal. Instead, you can just return false at the first
difference you see. And then with views (as we use ~everywhere
nowadays), the cloning the old value isn't expensive, as it's just a
pointer under the hood.

Updates #12614

Change-Id: I7b08616b8a09b3ade454bb5e0ac5672086fe8aec
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 months ago
..
nmcfg wgengine/wgcfg/nmcfg: coalesce, limit some debug logs 10 months ago
config.go util/checkchange: stop using deephash everywhere 2 months ago
config_test.go util/checkchange: stop using deephash everywhere 2 months ago
device.go all: use Go 1.20's errors.Join instead of our multierr package 2 months ago
device_test.go go.mod,wgengine/magicsock: update wireguard-go (#16148) 6 months ago
parser.go all: update copyright and license headers 3 years ago
parser_test.go all: use Go 1.22 range-over-int 2 years ago
wgcfg_clone.go tailcfg,all: add/plumb Node.IsJailed 2 years ago
writer.go wgengine/wgcfg: don't send UAPI to disable keep-alives on new peers 2 years ago