From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:45418 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751353AbeCOQQj (ORCPT ); Thu, 15 Mar 2018 12:16:39 -0400 From: Stefano Brivio To: "David S . Miller" Cc: Sabrina Dubroca , Steffen Klassert , Herbert Xu , Pravin Shelar , netdev@vger.kernel.org Subject: [PATCH net 0/3] vti4, ip_tunnel: Fixes for MTU assignment and validation Date: Thu, 15 Mar 2018 17:16:26 +0100 Message-Id: Sender: netdev-owner@vger.kernel.org List-ID: 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