diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2018-03-15 17:16:28 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2018-03-19 08:45:50 +0100 |
commit | 24fc79798b8ddfd46f2dd363a8d29072c083b977 (patch) | |
tree | 8c037f94e733a5a9d1f312c59b7c2c0a1697ac39 /net/unix | |
parent | vti4: Don't count header length twice on tunnel setup (diff) | |
download | linux-dev-24fc79798b8ddfd46f2dd363a8d29072c083b977.tar.xz linux-dev-24fc79798b8ddfd46f2dd363a8d29072c083b977.zip |
ip_tunnel: Clamp MTU to bounds on new link
Otherwise, it's possible to specify invalid MTU values directly
on creation of a link (via 'ip link add'). This is already
prevented on subsequent MTU changes by commit b96f9afee4eb
("ipv4/6: use core net MTU range checking").
Fixes: c54419321455 ("GRE: Refactor GRE tunneling code.")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions