diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-01-21 09:23:45 -0800 |
---|---|---|
committer | Josh Bleecher Snyder <josh@tailscale.com> | 2021-02-08 10:32:07 -0800 |
commit | 675ff32e6c29b4547e854c73b6aa6fdabe2cd0f5 (patch) | |
tree | 9082b96ab1548dc4dc07776cb4f048a1de956b20 /replay | |
parent | 3516ccc1e226756c4ba6d431cbf7e3a3fe63c5f8 (diff) |
device: improve MTU change handling
The old code silently accepted negative MTUs.
It also set MTUs above the maximum.
It also had hard to follow deeply nested conditionals.
Add more paranoid handling,
and make the code more straight-line.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'replay')
0 files changed, 0 insertions, 0 deletions