diff options
author | Jiri Benc <jbenc@redhat.com> | 2015-12-04 13:54:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-22 20:55:44 -0800 |
commit | f5361e3ee006e28cbb5048fdbd49626bb65113b3 (patch) | |
tree | 97fb79a520098d777f0bbb48c3f6492e4659d9e4 | |
parent | b15e8804446be2b8bf74b08a72db48a7d034e7f8 (diff) | |
download | lwn-f5361e3ee006e28cbb5048fdbd49626bb65113b3.tar.gz lwn-f5361e3ee006e28cbb5048fdbd49626bb65113b3.zip |
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>
-rw-r--r-- | include/net/vxlan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h index 480a319b4c92..f4a49720767c 100644 --- a/include/net/vxlan.h +++ b/include/net/vxlan.h @@ -79,7 +79,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) |