summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_input.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2018-03-15 17:17:13 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2018-03-19 08:45:50 +0100
commitf8a554b4aa9686bb2c12f6bae516e58783289a03 (patch)
tree62c9d02997f5bd64d8868dc4c754eef7eaa2a84e /net/xfrm/xfrm_input.c
parent7a67e69a339a6824be2fc483073782ab2f47fcd2 (diff)
vti6: Fix dev->max_mtu setting
We shouldn't allow a tunnel to have IP_MAX_MTU as MTU, because another IPv6 header is going on top of our packets. Without this patch, we might end up building packets bigger than IP_MAX_MTU. Fixes: b96f9afee4eb ("ipv4/6: use core net MTU range checking") 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/xfrm/xfrm_input.c')
0 files changed, 0 insertions, 0 deletions