From: Paolo Abeni <[email protected]> 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 <[email protected]> Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
