Skip to content

ip[6] tunnels: fix mtu calculations

Nicolas Dichtel netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ip_tunnel: restore binding to ifaces with a large mtunet/ipv4/ip_tunnel.c+4 -40 replies
2/2ip6_tunnel: remove magic mtu value 0xFFF8net/ipv6/ip6_tunnel.c net/ipv6/sit.c+11 -50 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/2] ip[6] tunnels: fix mtu calculations

The first patch restores the possibility to bind an ip4 tunnel to an interface whith a large mtu.
The second patch was spotted after the first fix. I also target it to net because it fixes the max mtu value that can be used for ipv6 tunnels.

v2: remove the 0xfff8 in ip_tunnel_newlink()

 net/ipv4/ip_tunnel.c  |  8 ++++----
 net/ipv6/ip6_tunnel.c | 11 ++++++++---
 net/ipv6/sit.c        |  5 +++--
 3 files changed, 15 insertions(+), 9 deletions(-)

Comments are welcomed,
Regards,
Nicolas