Re: [PATCH net-next 07/18] ipv6: Check nexthop flags during route lookup instead of carrier

From
David Ahern <hidden>
Date
2018-01-07 16:59:47
Reply to
Ido Schimmel, 2018-01-07
On 1/7/18 3:45 AM, Ido Schimmel wrote:
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 <redacted>
---
 net/ipv6/route.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
Acked-by: David Ahern <redacted>
Thread (41 messages) 41 messages, 4 authors, 2018-01-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help