]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add IFA_RT_PRIORITY address attribute
authorDavid Ahern <dsahern@gmail.com>
Sun, 27 May 2018 15:09:56 +0000 (08:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 14:12:45 +0000 (10:12 -0400)
commitf4cac179950aed395ac787b2fe11eb7bebb45c48
treea0969ac3323bdb0621c7decdbd8f9d92b7cac35f
parent2a2849fcc2f1f1d431aa7c61df7a87cd159b742d
net: Add IFA_RT_PRIORITY address attribute

Currently, if two interfaces have addresses in the same connected route,
then the order of the prefix route entries is determined by the order in
which the addresses are assigned or the links brought up.

Add IFA_RT_PRIORITY to allow user to specify the metric of the prefix
route associated with an address giving interface managers better
control of the order of prefix routes.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_addr.h