* Patch "ipmr/ip6mr: Initialize the last assert time of mfc entries." has been added to the 3.14-stable tree
@ 2016-07-07 0:44 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-07-07 0:44 UTC (permalink / raw)
To: thomas.goff, davem, gregkh; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
ipmr/ip6mr: Initialize the last assert time of mfc entries.
to the 3.14-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:
ipmr-ip6mr-initialize-the-last-assert-time-of-mfc-entries.patch
and it can be found in the queue-3.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From foo@baz Wed Jul 6 17:30:58 PDT 2016
From: Tom Goff <thomas.goff@ll.mit.edu>
Date: Thu, 23 Jun 2016 16:11:57 -0400
Subject: ipmr/ip6mr: Initialize the last assert time of mfc entries.
Status: RO
Content-Length: 1204
Lines: 43
From: Tom Goff <thomas.goff@ll.mit.edu>
[ Upstream commit 70a0dec45174c976c64b4c8c1d0898581f759948 ]
This fixes wrong-interface signaling on 32-bit platforms for entries
created when jiffies > 2^31 + MFC_ASSERT_THRESH.
Signed-off-by: Tom Goff <thomas.goff@ll.mit.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
net/ipv4/ipmr.c | 4 +++-
net/ipv6/ip6mr.c | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -883,8 +883,10 @@ static struct mfc_cache *ipmr_cache_allo
{
struct mfc_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_KERNEL);
- if (c)
+ if (c) {
+ c->mfc_un.res.last_assert = jiffies - MFC_ASSERT_THRESH - 1;
c->mfc_un.res.minvif = MAXVIFS;
+ }
return c;
}
--- a/net/ipv6/ip6mr.c
+++ b/net/ipv6/ip6mr.c
@@ -1076,6 +1076,7 @@ static struct mfc6_cache *ip6mr_cache_al
struct mfc6_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_KERNEL);
if (c == NULL)
return NULL;
+ c->mfc_un.res.last_assert = jiffies - MFC_ASSERT_THRESH - 1;
c->mfc_un.res.minvif = MAXMIFS;
return c;
}
Patches currently in stable-queue which might be from thomas.goff@ll.mit.edu are
queue-3.14/ipmr-ip6mr-initialize-the-last-assert-time-of-mfc-entries.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-07 0:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-07 0:44 Patch "ipmr/ip6mr: Initialize the last assert time of mfc entries." has been added to the 3.14-stable tree gregkh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.