Neal Cardwell b884b1a46f 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 <ncardwell@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: H.K. Jerry Chu <hkchu@google.com>
Cc: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-13 11:53:49 -08:00
..
2013-12-06 07:24:39 +01:00
2013-12-29 16:34:25 -05:00
2013-10-08 23:19:24 -04:00
2013-12-28 17:03:20 -05:00
2013-12-10 21:57:11 -05:00
2013-10-19 19:36:19 -04:00
2013-09-03 21:41:43 -04:00
2013-12-28 17:05:45 -05:00
2014-01-02 03:30:36 -05:00
2013-12-06 07:24:39 +01:00
2013-12-29 16:34:24 -05:00
2013-12-29 16:34:24 -05:00
2013-03-21 11:47:50 -04:00
2013-05-31 17:19:05 -07:00