Patch "ipmr/ip6mr: Initialize the last assert time of mfc entries." has been added to the 4.4-stable tree
Subsystems (3)
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 4.4-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-4.4 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 Wed Jul 6 16:50:47 PDT 2016
From: Tom Goff <[email protected]>
Date: Thu, 23 Jun 2016 16:11:57 -0400
Subject: ipmr/ip6mr: Initialize the last assert time of mfc entries.
From: Tom Goff <[email protected]>
[ Upstream commit 70a0dec45174c976c64b4c8c1d0898581f759948 ]
This fixes wrong-interface signaling on 32-bit platforms for entries created when jiffies > 2^31 + MFC_ASSERT_THRESH.
--- net/ipv4/ipmr.c | 4 +++- net/ipv6/ip6mr.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-)
net/ipv4/ipmr.c +3 -1
@@ -882,8 +882,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; }
net/ipv6/ip6mr.c +1 -0
@@ -1074,6 +1074,7 @@ static struct mfc6_cache *ip6mr_cache_alstruct mfc6_cache *c =kmem_cache_zalloc (mrt_cachep,GFP_KERNEL );if (!c)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 [email protected] are
queue-4.4/ipmr-ip6mr-initialize-the-last-assert-time-of-mfc-entries.patch