diff options
| -rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 5dc6ca6b6686..1ac0b6e17d95 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
| @@ -619,7 +619,7 @@ static struct rt6_info *find_match(struct rt6_info *rt, int oif, int strict, | |||
| 619 | goto out; | 619 | goto out; |
| 620 | 620 | ||
| 621 | m = rt6_score_route(rt, oif, strict); | 621 | m = rt6_score_route(rt, oif, strict); |
| 622 | if (m == RT6_NUD_FAIL_SOFT && !IS_ENABLED(CONFIG_IPV6_ROUTER_PREF)) { | 622 | if (m == RT6_NUD_FAIL_SOFT) { |
| 623 | match_do_rr = true; | 623 | match_do_rr = true; |
| 624 | m = 0; /* lowest valid score */ | 624 | m = 0; /* lowest valid score */ |
| 625 | } else if (m < 0) { | 625 | } else if (m < 0) { |
