package: kernel: add handling for 3.2 renames (and some missed ones for 3.1)
[openwrt.git] / target / linux / generic / patches-2.6.31 / 301-ipv6_send_rs_when_forwarding.patch
1 --- a/net/ipv6/addrconf.c
2 +++ b/net/ipv6/addrconf.c
3 @@ -2864,7 +2864,8 @@ static void addrconf_dad_completed(struc
4 start sending router solicitations.
5 */
6
7 - if (ifp->idev->cnf.forwarding == 0 &&
8 + if ((ifp->idev->cnf.forwarding == 0 ||
9 + ifp->idev->cnf.forwarding == 2) &&
10 ifp->idev->cnf.rtr_solicits > 0 &&
11 (dev->flags&IFF_LOOPBACK) == 0 &&
12 (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) {
This page took 0.040366 seconds and 5 git commands to generate.