[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1507582067-36718-1-git-send-email-u9012063@gmail.com>
Date: Mon, 9 Oct 2017 13:47:44 -0700
From: William Tu <u9012063@...il.com>
To: netdev@...r.kernel.org
Subject: [net-next 0/3] ip_gre: a bunch of fixes for mtu
The first two patches are to fix some issues for mtu and needed_headroom length
calculation from the gre and erspan tunnel header. The last path tries to avoid
arithmetic operation for every packet when checking for erspan truncate.
William Tu (3):
ip_gre: fix mtu and headroom size
ip_gre: fix erspan tunnel mtu calculation
ip_gre: cache the device mtu hard_header_len calc
include/net/erspan.h | 1 +
include/net/ip_tunnels.h | 1 +
net/ipv4/ip_gre.c | 23 +++++++++++------------
net/ipv4/ip_tunnel.c | 3 +++
4 files changed, 16 insertions(+), 12 deletions(-)
--
2.7.4
Powered by blists - more mailing lists