Skip to content

ip_gre: a bunch of fixes for mtu

William Tu netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ip_gre: fix mtu and headroom sizenet/ipv4/ip_gre.c+2 -20 replies
2/3ip_gre: fix erspan tunnel mtu calculationinclude/net/erspan.h net/ipv4/ip_gre.c+6 -63 replies
3/3ip_gre: cache the device mtu hard_header_len calcinclude/net/ip_tunnels.h net/ipv4/ip_gre.c net/ipv4/ip_tunnel.c+8 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)
Signature · 1 line
2.7.4