|
@@ -2964,7 +2964,8 @@ static void addrconf_dad_completed(struct inet6_ifaddr *ifp)
|
|
start sending router solicitations.
|
|
start sending router solicitations.
|
|
*/
|
|
*/
|
|
|
|
|
|
- if (ifp->idev->cnf.forwarding == 0 &&
|
|
|
|
|
|
+ if ((ifp->idev->cnf.forwarding == 0 ||
|
|
|
|
+ ifp->idev->cnf.forwarding == 2) &&
|
|
ifp->idev->cnf.rtr_solicits > 0 &&
|
|
ifp->idev->cnf.rtr_solicits > 0 &&
|
|
(dev->flags&IFF_LOOPBACK) == 0 &&
|
|
(dev->flags&IFF_LOOPBACK) == 0 &&
|
|
(ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
|
|
(ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
|