[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150923161651.771ba259@urahara>
Date: Wed, 23 Sep 2015 16:16:51 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Andrey Vagin <avagin@...nvz.org>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Stephen Hemminger <shemminger@...l.org>
Subject: Re: [PATCH iproute2] route: filter routes by family if it's
specified
On Wed, 23 Sep 2015 11:43:46 +0000
Andrey Vagin <avagin@...nvz.org> wrote:
> From: Andrew Vagin <avagin@...nvz.org>
>
> Currently when we specify AF_INET6 when it is disabled, we will get
> all routes.
>
> For example, we can boot kernel with ipv6.disable=1 and try to get ipv6
> routes:
> $ ip -6 route show
> default via 192.168.122.1 dev eth0 proto static metric 100
> 192.168.122.0/24 dev eth0 proto kernel scope link src 192.168.122.141 metric 100
>
> Here are ipv4 routes and this is unexpected behaviour.
>
> Signed-off-by: Andrew Vagin <avagin@...nvz.org>
Applied thanks.
--
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