summaryrefslogtreecommitdiff
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-01-07 12:45:06 +0200
committerDavid S. Miller <davem@davemloft.net>2018-01-07 21:29:40 -0500
commit5609b80a37f69f796548339e675256188b29c17d (patch)
tree431e6fc739c9db78d56225b6541989c9045fc93c /mm/swap_state.c
parent27c6fa73f93b81671a77bdaa242473c3bda0ac4a (diff)
downloadlinux-5609b80a37f69f796548339e675256188b29c17d.tar.gz
linux-5609b80a37f69f796548339e675256188b29c17d.tar.xz
ipv6: Set nexthop flags during route creation
It is valid to install routes with a nexthop device that does not have a carrier, so we need to make sure they're marked accordingly. As explained in the previous patch, host and anycast routes are never marked with the 'linkdown' flag. Note that reject routes are unaffected, as these use the loopback device which always has a carrier. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions