Re: [PATCH net-next] vxlan: tun_id is 64bit, not 32bit

2016-02-18 Thread Thadeu Lima de Souza Cascardo
On Thu, Feb 18, 2016 at 07:19:29PM +0100, Jiri Benc wrote: > The tun_id field in struct ip_tunnel_key is __be64, not __be32. We need to > convert the vni to tun_id correctly. > > Fixes: 54bfd872bf16 ("vxlan: keep flags and vni in network byte order") > Reported-by: Paolo Abeni

[PATCH net-next] vxlan: tun_id is 64bit, not 32bit

2016-02-18 Thread Jiri Benc
The tun_id field in struct ip_tunnel_key is __be64, not __be32. We need to convert the vni to tun_id correctly. Fixes: 54bfd872bf16 ("vxlan: keep flags and vni in network byte order") Reported-by: Paolo Abeni Tested-by: Paolo Abeni Signed-off-by: Jiri Benc