summaryrefslogtreecommitdiff
path: root/datapath
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2015-12-07 18:23:20 -0800
committerPravin B Shelar <pshelar@nicira.com>2015-12-08 09:48:27 -0800
commit9e066fe1896bf3a02850fe229afa9ee42c3e1bbf (patch)
tree3d328b35ce2401b7024ccd118e57ae88996bcfc7 /datapath
parentf07995ef94c582946e8c28ccbae1b525bfaea7ed (diff)
downloadopenvswitch-9e066fe1896bf3a02850fe229afa9ee42c3e1bbf.tar.gz
datapath: Backport: vxlan: fix incorrect RCO bit in VXLAN header
Upstream commit: Commit 3511494ce2f3d ("vxlan: Group Policy extension") changed definition of VXLAN_HF_RCO from 0x00200000 to BIT(24). This is obviously incorrect. It's also in violation with the RFC draft. Fixes: 3511494ce2f3d ("vxlan: Group Policy extension") Cc: Thomas Graf <tgraf@suug.ch> Cc: Tom Herbert <therbert@google.com> Signed-off-by: Jiri Benc <jbenc@redhat.com> Acked-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net> Upstream: c5fb8caaf91 ("vxlan: fix incorrect RCO bit in VXLAN header") Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@kernel.org>
Diffstat (limited to 'datapath')
-rw-r--r--datapath/linux/compat/include/net/vxlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/linux/compat/include/net/vxlan.h b/datapath/linux/compat/include/net/vxlan.h
index 13de97ac1..b50cd171c 100644
--- a/datapath/linux/compat/include/net/vxlan.h
+++ b/datapath/linux/compat/include/net/vxlan.h
@@ -101,7 +101,7 @@ struct vxlanhdr {
};
/* VXLAN header flags. */
-#define VXLAN_HF_RCO BIT(24)
+#define VXLAN_HF_RCO BIT(21)
#define VXLAN_HF_VNI BIT(27)
#define VXLAN_HF_GBP BIT(31)