|
@@ -619,7 +619,7 @@ static struct rt6_info *find_match(struct rt6_info *rt, int oif, int strict,
|
|
goto out;
|
|
goto out;
|
|
|
|
|
|
m = rt6_score_route(rt, oif, strict);
|
|
m = rt6_score_route(rt, oif, strict);
|
|
- if (m == RT6_NUD_FAIL_SOFT && !IS_ENABLED(CONFIG_IPV6_ROUTER_PREF)) {
|
|
|
|
|
|
+ if (m == RT6_NUD_FAIL_SOFT) {
|
|
match_do_rr = true;
|
|
match_do_rr = true;
|
|
m = 0; /* lowest valid score */
|
|
m = 0; /* lowest valid score */
|
|
} else if (m < 0) {
|
|
} else if (m < 0) {
|