commit | 2e598af7135d1434b0ebf2e9c7ff8e014f48d572 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <aduyck@mirantis.com> | Fri Feb 05 15:28:01 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 11 08:55:34 2016 -0500 |
tree | 4b7faf78f4a861c508d1b26d55f5fa549ea5bd7c | |
parent | ddff00d420432d54eb420bb33034bb8e22dd2543 [diff] |
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: Alexander Duyck <aduyck@mirantis.com> Signed-off-by: David S. Miller <davem@davemloft.net>