Skip to content
Commit 07dabf20 authored by Jiri Benc's avatar Jiri Benc Committed by David S. Miller
Browse files

vxlan: tun_id is 64bit, not 32bit



The tun_id field in struct ip_tunnel_key is __be64, not __be32. We need to
convert the vni to tun_id correctly.

Fixes: 54bfd872 ("vxlan: keep flags and vni in network byte order")
Reported-by: default avatarPaolo Abeni <pabeni@redhat.com>
Tested-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarJiri Benc <jbenc@redhat.com>
Acked-by: default avatarThadeu Lima de Souza Cascardo <cascardo@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f169af2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment