Re: [PATCH net-next 08/13] ipv6: Refactor fib6_ignore_linkdown
From: Ido Schimmel <hidden>
Date: 2019-03-27 09:19:23
From: Ido Schimmel <hidden>
Date: 2019-03-27 09:19:23
On Tue, Mar 26, 2019 at 08:29:37PM -0700, David Ahern wrote:
From: David Ahern <redacted> fib6_ignore_linkdown takes a fib6_info but only looks at the net_device and its IPv6 config. Change it to take a net_device over a fib6_info as its input argument. In addition, move it to a header file to make the check inline and usable later with IPv4 code without going through the ipv6 stub, and rename to ip6_ignore_linkdown since it is only checking the setting based on the ipv6 struct on a device. Signed-off-by: David Ahern <redacted>
Reviewed-by: Ido Schimmel <redacted>