Patch 1/3 re-introduces a fix to ensure that default MTU on new
link is not lowered unnecessarily because of double counting of
headers. This fix was originally introduced in 2014 and got lost
in a merge commit shortly afterwards.

Patches 2/3 and 3/3 ensure that MTU passed from userspace on link
creation is taken into account and also properly validated.

Stefano Brivio (3):
  vti4: Don't count header length twice on tunnel setup
  ip_tunnel: Clamp MTU to bounds on new link
  vti4: Don't override MTU passed on link creation via IFLA_MTU

 net/ipv4/ip_tunnel.c | 8 +++++++-
 net/ipv4/ip_vti.c    | 2 --
 2 files changed, 7 insertions(+), 3 deletions(-)

-- 
2.15.1

Reply via email to