projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1ec46
)
vxlan: fix incorrect RCO bit in VXLAN header
author
Jiri Benc
<
[email protected]
>
Fri, 4 Dec 2015 12:54:03 +0000
(13:54 +0100)
committer
David S. Miller
<
[email protected]
>
Sat, 5 Dec 2015 23:15:29 +0000
(18:15 -0500)
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 <
[email protected]
>
Cc: Tom Herbert <
[email protected]
>
Signed-off-by: Jiri Benc <
[email protected]
>
Acked-by: Tom Herbert <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/net/vxlan.h
patch
|
blob
|
history
diff --git
a/include/net/vxlan.h
b/include/net/vxlan.h
index c1c899c3a51be42f680fff5ce0f5c5e997652daa..e289ada6adf6b0a7bd45debd46488a28b2642ee6 100644
(file)
--- a/
include/net/vxlan.h
+++ b/
include/net/vxlan.h
@@
-79,7
+79,7
@@
struct vxlanhdr {
};
/* VXLAN header flags. */
-#define VXLAN_HF_RCO BIT(2
4
)
+#define VXLAN_HF_RCO BIT(2
1
)
#define VXLAN_HF_VNI BIT(27)
#define VXLAN_HF_GBP BIT(31)