vxlan: fix incorrect RCO bit in VXLAN header
authorJiri Benc <jbenc@redhat.com>
Fri, 4 Dec 2015 12:54:03 +0000 (13:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jan 2016 04:54:12 +0000 (20:54 -0800)
commitd599ae203c46fa6de7af4564c3fef8015f3012ca
tree6d9f6df7b8bbef4bb37d1ac3f24dff73620ab5d3
parenta7a97780df2c5d34f0ab7a9a748708dc5e98a087
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>
include/net/vxlan.h