[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120907.141808.933339383624986735.davem@davemloft.net>
Date: Fri, 07 Sep 2012 14:18:08 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: nicolas.dichtel@...nd.com
Cc: netdev@...r.kernel.org, markus.stenberg@....fi,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next] ipv6: fix handling of throw routes
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? :-)
--
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