lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130110.143921.1060148433440698446.davem@davemloft.net>
Date:	Thu, 10 Jan 2013 14:39:21 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	yoshfuji@...ux-ipv6.org
Cc:	r.kuntz@...lavors.com, nicolas.dichtel@...nd.com,
	netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH 1/1] ipv6: use addrconf_get_prefix_route for prefix
 route lookup [v2]

From: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Date: Thu, 10 Jan 2013 18:44:25 +0900

> Romain KUNTZ wrote:
> 
>> From 203474c87f45da40b5c9d9e629164561307b4199 Mon Sep 17 00:00:00 2001
>> From: Romain Kuntz <r.kuntz@...lavors.com>
>> Date: Thu, 10 Jan 2013 07:41:36 +0100
>> Subject: [PATCH 1/1] ipv6: use addrconf_get_prefix_route for prefix route lookup [v2]
>> 
>> Replace ip6_route_lookup() with addrconf_get_prefix_route() when
>> looking up for a prefix route. This ensures that the connected prefix
>> is looked up in the main table, and avoids the selection of other
>> matching routes located in different tables as well as blackhole
>> or prohibited entries.
>> 
>> In addition, this fixes an Opps introduced by commit 64c6d08e (ipv6:
>> del unreachable route when an addr is deleted on lo), that would occur
>> when a blackhole or prohibited entry is selected by ip6_route_lookup().
>> Such entries have a NULL rt6i_table argument, which is accessed by
>> __ip6_del_rt() when trying to lock rt6i_table->tb6_lock.
>> 
>> The function addrconf_is_prefix_route() is not used anymore and is
>> removed.
>> 
>> [v2] Minor indentation cleanup and log updates.
>> 
>> Signed-off-by: Romain Kuntz <r.kuntz@...lavors.com>
>> Acked-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
 ...
> Acked-by: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
> 

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ