netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/3] vti4, ip_tunnel: Fixes for MTU assignment and validation
@ 2018-03-15 16:16 Stefano Brivio
  2018-03-15 16:16 ` [PATCH net 1/3] vti4: Don't count header length twice on tunnel setup Stefano Brivio
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Stefano Brivio @ 2018-03-15 16:16 UTC (permalink / raw)
  To: David S . Miller
  Cc: Sabrina Dubroca, Steffen Klassert, Herbert Xu, Pravin Shelar,
	netdev

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-19 10:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15 16:16 [PATCH net 0/3] vti4, ip_tunnel: Fixes for MTU assignment and validation Stefano Brivio
2018-03-15 16:16 ` [PATCH net 1/3] vti4: Don't count header length twice on tunnel setup Stefano Brivio
2018-03-15 16:16 ` [PATCH net 2/3] ip_tunnel: Clamp MTU to bounds on new link Stefano Brivio
2018-03-15 16:16 ` [PATCH net 3/3] vti4: Don't override MTU passed on link creation via IFLA_MTU Stefano Brivio
2018-03-17 23:46 ` [PATCH net 0/3] vti4, ip_tunnel: Fixes for MTU assignment and validation David Miller
2018-03-19 10:20   ` Steffen Klassert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).