[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151023.025520.942186208311911968.davem@davemloft.net>
Date: Fri, 23 Oct 2015 02:55:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net
Subject: Re: [PATCH net] ipv4: implement support for NOPREFIXROUTE ifa flag
for ipv4 address
From: Paolo Abeni <pabeni@...hat.com>
Date: Tue, 20 Oct 2015 10:28:45 +0200
> Currently adding a new ipv4 address always cause the creation of the
> related network route, with default metric. When a host has multiple
> interfaces on the same network, multiple routes with the same metric
> are created.
>
> If the userspace wants to set specific metric on each routes, i.e.
> giving better metric to ethernet links in respect to Wi-Fi ones,
> the network routes must be deleted and recreated, which is error-prone.
>
> This patch implements the support for IFA_F_NOPREFIXROUTE for ipv4
> address. When an address is added with such flag set, no associated
> network route is created, no network route is deleted when
> said IP is gone and it's up to the user space manage such route.
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied to net-next, 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