mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 10:29:52 +00:00
vxlan: fix incorrect RCO bit in VXLAN header
[ Upstream commitc5fb8caaf9] Commit3511494ce2("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:3511494ce2("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>
This commit is contained in:
@@ -78,7 +78,7 @@ struct vxlanhdr {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* VXLAN header flags. */
|
/* VXLAN header flags. */
|
||||||
#define VXLAN_HF_RCO BIT(24)
|
#define VXLAN_HF_RCO BIT(21)
|
||||||
#define VXLAN_HF_VNI BIT(27)
|
#define VXLAN_HF_VNI BIT(27)
|
||||||
#define VXLAN_HF_GBP BIT(31)
|
#define VXLAN_HF_GBP BIT(31)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user