From b884b1a46f205d56e33c0391c1d04644d846f41e Mon Sep 17 00:00:00 2001 From: Neal Cardwell Date: Thu, 9 Jan 2014 20:47:17 -0500 Subject: [PATCH] gre_offload: simplify GRE header length calculation in gre_gso_segment() Simplify the GRE header length calculation in gre_gso_segment(). Switch to an approach that is simpler, faster, and more general. The new approach will continue to be correct even if we add support for the optional variable-length routing info that may be present in a GRE header. Signed-off-by: Neal Cardwell Cc: Eric Dumazet Cc: H.K. Jerry Chu Cc: Pravin B Shelar Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-format-patch failed