[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <504D93A4.4090706@6wind.com>
Date: Mon, 10 Sep 2012 09:15:48 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org, markus.stenberg@....fi,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next] ipv6: fix handling of throw routes
Le 07/09/2012 20:18, David Miller a écrit :
> From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
> Date: Thu, 6 Sep 2012 11:53:35 -0400
>
>> It's the same problem that previous fix about blackhole and prohibit routes.
>>
>> When adding a throw route, it was handled like a classic route.
>> Moreover, it was only possible to add this kind of routes by specifying
>> an interface.
>>
>> Before the patch:
>> $ ip route add throw 2001::2/128
>> RTNETLINK answers: No such device
>> $ ip route add throw 2001::2/128 dev eth0
>> $ ip -6 route | grep 2001::2
>> 2001::2 dev eth0 metric 1024
>>
>> After:
>> $ ip route add throw 2001::2/128
>> $ ip -6 route | grep 2001::2
>> throw 2001::2 dev lo metric 1024 error -11
>>
>> Reported-by: Markus Stenberg <markus.stenberg@....fi>
>> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
>
> Applied, thanks.
>
> See how easy this was to implement via ->rtm_type? :-)
>
Definitely!
--
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