diff options
author | Tom Herbert <tom@herbertland.com> | 2016-05-10 11:56:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-10 16:00:25 -0400 |
commit | 1ddb6b71b9b572edb2b9c09086ee3bbbc550d9cd (patch) | |
tree | 79d8331b4c26a3464ee36ab7297b35b247ebf9e2 /net/core | |
parent | 93edb8c7f94fb3d384790ac8a83c3fb9389f6ca5 (diff) |
ila: ipv6/ila: fix nlsize calculation for lwtunnel
The handler 'ila_fill_encap_info' adds two attributes: ILA_ATTR_LOCATOR
and ILA_ATTR_CSUM_MODE.
nla_total_size_64bit() must be use for ILA_ATTR_LOCATOR.
Also, do nla_put_u8 instead of nla_put_u64 for ILA_ATTR_CSUM_MODE.
Fixes: f13a82d87b21 ("ipv6: use nla_put_u64_64bit()")
Fixes: 90bfe662db13 ("ila: add checksum neutral ILA translations")
Reported-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions