diff options
author | Jiri Benc <jbenc@redhat.com> | 2016-02-18 19:19:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 19:55:24 +0100 |
commit | 07dabf20d9867710b90b91108b2adcd448773e25 (patch) | |
tree | 5fba2742a7df7451a1127c38b475f347623b6104 /crypto/ecb.c | |
parent | Merge branch 'netlink-mmap-remove' (diff) | |
download | linux-07dabf20d9867710b90b91108b2adcd448773e25.tar.xz linux-07dabf20d9867710b90b91108b2adcd448773e25.zip |
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: 54bfd872bf16 ("vxlan: keep flags and vni in network byte order")
Reported-by: Paolo Abeni <pabeni@redhat.com>
Tested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/ecb.c')
0 files changed, 0 insertions, 0 deletions