summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc
diff options
context:
space:
mode:
authorNeal Cardwell <ncardwell@google.com>2014-01-09 20:47:17 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-13 11:53:49 -0800
commitb884b1a46f205d56e33c0391c1d04644d846f41e (patch)
treef444f75b77d4954e8cd0fda24a208fa6ebc377aa /drivers/net/ethernet/smsc
parent7eb8896df03d0f4a8b301cb177d7f31c0d70e112 (diff)
downloadlinux-b884b1a46f205d56e33c0391c1d04644d846f41e.tar.bz2
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>
Diffstat (limited to 'drivers/net/ethernet/smsc')
0 files changed, 0 insertions, 0 deletions