Patch "ipv6: Fix may be used uninitialized warning in rt6_check" has been added to the 4.12-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
ipv6: Fix may be used uninitialized warning in rt6_check
to the 4.12-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-fix-may-be-used-uninitialized-warning-in-rt6_check.patch
and it can be found in the queue-4.12 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
3614364527daa870264f6dde77f02853cdecd02cMon Sep 17 00:00:00 2001
From: Steffen Klassert <[email protected]>
Date: Fri, 25 Aug 2017 09:05:42 +0200
Subject: ipv6: Fix may be used uninitialized warning in rt6_check
From: Steffen Klassert <[email protected]>
commit 3614364527daa870264f6dde77f02853cdecd02c upstream.
rt_cookie might be used uninitialized, fix this by initializing it.
--- net/ipv6/route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/route.c +1 -1
@@ -1290,7 +1290,7 @@ static void rt6_dst_from_metrics_check(sstatic struct dst_entry *rt6_check (struct rt6_info *rt,u32 cookie) { -u32 rt_cookie; +u32 rt_cookie =0 ;if (!rt6_get_cookie_safe (rt, &rt_cookie) || rt_cookie != cookie)return NULL ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.12/ipv6-fix-may-be-used-uninitialized-warning-in-rt6_check.patch