From: Tom Herbert <[email protected]> Date: Thu, 28 Apr 2016 17:12:29 -0700
> @@ -144,8 +144,12 @@ nla_put_failure:
>
> static int ila_encap_nlsize(struct lwtunnel_state *lwtstate)
> {
> - /* No encapsulation overhead */
> - return 0;
> + return
> + /* ILA_ATTR_LOCATOR */
> + nla_total_size(sizeof(u64)) +
As Nicolas stated, you need to use the 64-bit sizing helper here.
