netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next 0/3] ip_gre: a bunch of fixes for mtu
@ 2017-10-09 20:47 William Tu
  2017-10-09 20:47 ` [net-next 1/3] ip_gre: fix mtu and headroom size William Tu
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: William Tu @ 2017-10-09 20:47 UTC (permalink / raw)
  To: netdev

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

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

end of thread, other threads:[~2017-10-11 10:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-09 20:47 [net-next 0/3] ip_gre: a bunch of fixes for mtu William Tu
2017-10-09 20:47 ` [net-next 1/3] ip_gre: fix mtu and headroom size William Tu
2017-10-09 20:47 ` [net-next 2/3] ip_gre: fix erspan tunnel mtu calculation William Tu
2017-10-10  5:27   ` Xin Long
2017-10-10 12:59     ` William Tu
2017-10-11 10:46       ` Xin Long
2017-10-09 20:47 ` [net-next 3/3] ip_gre: cache the device mtu hard_header_len calc William Tu
2017-10-11  9:54   ` Xin Long

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).