Josh Bleecher Snyder
675ff32e6c
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 >
2021-02-08 10:32:07 -08:00
..
2021-02-02 19:32:13 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-02-08 10:32:07 -08:00
2021-02-08 10:32:07 -08:00
2021-02-08 10:32:07 -08:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-02-08 10:32:07 -08:00
2021-02-03 16:59:29 +01:00
2021-02-02 19:32:13 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-01-28 17:52:15 +01:00
2021-02-08 10:32:07 -08:00
2021-02-08 10:32:07 -08:00
2020-06-07 01:50:20 -06:00
2021-01-28 17:52:15 +01:00
2021-02-08 10:32:07 -08:00
2021-01-28 17:52:15 +01:00
2021-02-08 10:32:07 -08:00
2021-02-08 10:32:07 -08:00
2020-11-18 14:24:17 +01:00