Thread (6 messages) 6 messages, 3 authors, 2016-05-10

Re: [PATCH net-next v2] ila: ipv6/ila: fix nlsize calculation for lwtunnel

From: David Miller <davem@davemloft.net>
Date: 2016-05-10 20:01:18

From: Nicolas Dichtel <redacted>
Date: Tue, 10 May 2016 11:56:32 +0200
From: Tom Herbert <redacted>

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 <redacted>
Signed-off-by: Tom Herbert <redacted>
Signed-off-by: Nicolas Dichtel <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help