From: Romain Kuntz Date: Wed, 9 Jan 2013 14:02:26 +0000 (+0100) Subject: ipv6: fix the noflags test in addrconf_get_prefix_route X-Git-Tag: v3.2.39~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b3f442bce440d228ad0002974e2c8189458b41;p=pandora-kernel.git ipv6: fix the noflags test in addrconf_get_prefix_route [ 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 Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed