diff options
author | Jiri Benc <jbenc@redhat.com> | 2015-12-04 15:54:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-06 02:15:29 +0300 |
commit | c5fb8caaf91ea6a92920cf24db10cfc94d58de0f (patch) | |
tree | 43f971ea686ea463994a32cf8c08f382908f18b0 /include/net/vxlan.h | |
parent | 9a1ec4612c9bfc94d4185e3459055a37a685e575 (diff) | |
download | linux-c5fb8caaf91ea6a92920cf24db10cfc94d58de0f.tar.xz |
vxlan: fix incorrect RCO bit in VXLAN header
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>
Diffstat (limited to 'include/net/vxlan.h')
-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 c1c899c3a51b..e289ada6adf6 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) |