Files
linux-st/include/linux
David Ahern 331c7a4023 ipv4: Move IN_DEV_IGNORE_ROUTES_WITH_LINKDOWN to helper
in_dev lookup followed by IN_DEV_IGNORE_ROUTES_WITH_LINKDOWN check
is called in several places, some with the rcu lock and others with the
rtnl held.

Move the check to a helper similar to what IPv6 has. Since the helper
can be invoked from either context use rcu_dereference_rtnl to
dereference ip_ptr.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-29 10:48:03 -07:00
..
2019-03-18 10:44:48 -06:00
2019-03-12 18:59:17 -07:00
2019-03-12 10:04:02 -07:00
2019-03-12 10:04:00 -07:00
2019-03-12 10:04:01 -07:00
2019-03-15 15:29:47 -07:00
2019-03-12 10:04:03 -07:00
2019-03-15 15:29:47 -07:00