summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2015-12-04 13:54:03 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-22 20:54:12 -0800
commitd599ae203c46fa6de7af4564c3fef8015f3012ca (patch)
tree6d9f6df7b8bbef4bb37d1ac3f24dff73620ab5d3 /include
parenta7a97780df2c5d34f0ab7a9a748708dc5e98a087 (diff)
vxlan: fix incorrect RCO bit in VXLAN header
[ Upstream commit c5fb8caaf91ea6a92920cf24db10cfc94d58de0f ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/vxlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 0082b5d33d7d..7ef9272a405a 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -78,7 +78,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)