Skip to contentSkip to conversation

Patch "ipv6/ila: fix nlsize calculation for lwtunnel" has been added to the 4.5-stable tree

PATCH [email protected] 1 participant 1 message May 16, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ipv6/ila: fix nlsize calculation for lwtunnel

to the 4.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
ipv6-ila-fix-nlsize-calculation-for-lwtunnel.patch
and it can be found in the queue-4.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Mon May 16 11:20:33 PDT 2016

From: Nicolas Dichtel <[email protected]>
Date: Tue, 3 May 2016 09:58:27 +0200
Subject: ipv6/ila: fix nlsize calculation for lwtunnel

From: Nicolas Dichtel <[email protected]>

[ Upstream commit 79e8dc8b80bff0bc5bbb90ca5e73044bf207c8ac ]

The handler 'ila_fill_encap_info' adds one attribute: ILA_ATTR_LOCATOR.

Fixes 65d7ab8de582 ("net: Identifier Locator Addressing module")
CC Tom Herbert <[email protected]>
---
 net/ipv6/ila/ila_lwt.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
net/ipv6/ila/ila_lwt.c +1 -2
@@ -120,8 +120,7 @@ nla_put_failure:
 
 static int ila_encap_nlsize(struct lwtunnel_state *lwtstate)
 {
-	/* No encapsulation overhead */
-	return 0;
+	return nla_total_size(sizeof(u64)); /* ILA_ATTR_LOCATOR */
 }
 
 static int ila_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b)

Patches currently in stable-queue which might be from [email protected] are

queue-4.5/ipv6-ila-fix-nlsize-calculation-for-lwtunnel.patch