aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 6b361fc3e14d..4da664538f52 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1075,6 +1075,9 @@ int ipv6_dev_get_saddr(struct net_device *daddr_dev,
1075 if (hiscore.attrs & IPV6_SADDR_SCORE_PRIVACY) 1075 if (hiscore.attrs & IPV6_SADDR_SCORE_PRIVACY)
1076 continue; 1076 continue;
1077 } 1077 }
1078#else
1079 if (hiscore.rule < 7)
1080 hiscore.rule++;
1078#endif 1081#endif
1079 /* Rule 8: Use longest matching prefix */ 1082 /* Rule 8: Use longest matching prefix */
1080 if (hiscore.rule < 8) { 1083 if (hiscore.rule < 8) {