projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Always initialize fix_segment for GSO packet.
[cascardo/ovs.git]
/
datapath
/
linux
/
compat
/
gre.c
diff --git
a/datapath/linux/compat/gre.c
b/datapath/linux/compat/gre.c
index
07b270a
..
8c133de
100644
(file)
--- a/
datapath/linux/compat/gre.c
+++ b/
datapath/linux/compat/gre.c
@@
-292,6
+292,8
@@
struct sk_buff *gre_handle_offloads(struct sk_buff *skb, bool gre_csum)
if (skb_is_gso(skb)) {
if (gre_csum)
OVS_GSO_CB(skb)->fix_segment = gre_csum_fix;
+ else
+ OVS_GSO_CB(skb)->fix_segment = NULL;
} else {
if (skb->ip_summed == CHECKSUM_PARTIAL && gre_csum) {
err = skb_checksum_help(skb);