diff options
| author | 2018-01-07 12:45:07 +0200 | |
|---|---|---|
| committer | 2018-01-07 21:29:40 -0500 | |
| commit | 14c5206c2d02495de995210d104cb7f084d82e2b (patch) | |
| tree | a813a9c576f4926781178c8aecc87ace8a0b4fd3 /lib/memory-notifier-error-inject.c | |
| parent | ipv6: Set nexthop flags during route creation (diff) | |
| download | linux-dev-14c5206c2d02495de995210d104cb7f084d82e2b.tar.xz linux-dev-14c5206c2d02495de995210d104cb7f084d82e2b.zip | |
ipv6: Check nexthop flags during route lookup instead of carrier
Now that the RTNH_F_LINKDOWN flag is set in nexthops, we can avoid the
need to dereference the nexthop device and check its carrier and instead
check for the presence of the flag.
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
