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

    ipv6: fix the noflags test in addrconf_get_prefix_route

to the 3.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:
     ipv6-fix-the-noflags-test-in-addrconf_get_prefix_route.patch
and it can be found in the queue-3.4 subdirectory.

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


>From 40bf7c03b77e0aae0fba9aab7c26df427a1019ba Mon Sep 17 00:00:00 2001
From: Romain Kuntz <[email protected]>
Date: Wed, 9 Jan 2013 15:02:26 +0100
Subject: ipv6: fix the noflags test in addrconf_get_prefix_route


From: Romain Kuntz <[email protected]>

[ Upstream commit 85da53bf1c336bb07ac038fb951403ab0478d2c5 ]

The tests on the flags in addrconf_get_prefix_route() does no make
much sense: the 'noflags' parameter contains the set of flags that
must not match with the route flags, so the test must be done
against 'noflags', and not against 'flags'.

Signed-off-by: Romain Kuntz <[email protected]>
Acked-by: YOSHIFUJI Hideaki <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
 net/ipv6/addrconf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1736,7 +1736,7 @@ static struct rt6_info *addrconf_get_pre
                        continue;
                if ((rt->rt6i_flags & flags) != flags)
                        continue;
-               if ((noflags != 0) && ((rt->rt6i_flags & flags) != 0))
+               if ((rt->rt6i_flags & noflags) != 0)
                        continue;
                dst_hold(&rt->dst);
                break;


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

queue-3.4/ipv6-fix-header-length-calculation-in-ip6_append_data.patch
queue-3.4/ipv6-fix-the-noflags-test-in-addrconf_get_prefix_route.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to