Skip to content
Commit 2e598af7 authored by Alexander Duyck's avatar Alexander Duyck Committed by David S. Miller
Browse files

gre: Use GSO flags to determine csum need instead of GRE flags



This patch updates the gre checksum path to follow something much closer to
the UDP checksum path.  By doing this we can avoid needing to do as much
header inspection and can just make use of the fields we were already
reading in the sk_buff structure.

Signed-off-by: default avatarAlexander Duyck <aduyck@mirantis.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ddff00d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment