Files
android_kernel_xiaomi_sm8450/net/ipv6
Tom Herbert 1ddb6b71b9 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: f13a82d87b ("ipv6: use nla_put_u64_64bit()")
Fixes: 90bfe662db ("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>
2016-05-10 16:00:25 -04:00
..
2015-08-25 13:37:31 -07:00
2016-05-03 16:08:14 -04:00
2015-05-28 11:23:20 +08:00
2016-04-27 22:48:24 -04:00
2016-04-27 22:48:25 -04:00
2016-05-03 16:08:14 -04:00
2016-04-27 22:48:24 -04:00
2016-04-07 16:53:29 -04:00
2016-05-03 16:08:14 -04:00
2016-05-03 16:08:14 -04:00
2016-04-27 22:48:24 -04:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2016-05-03 16:08:14 -04:00
2014-05-23 16:28:53 -04:00