diff options
Diffstat (limited to 'target/linux/generic/patches-2.6.33/301-ipv6_send_rs_when_forwarding.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.33/301-ipv6_send_rs_when_forwarding.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.33/301-ipv6_send_rs_when_forwarding.patch b/target/linux/generic/patches-2.6.33/301-ipv6_send_rs_when_forwarding.patch new file mode 100644 index 0000000000..208e800eef --- /dev/null +++ b/target/linux/generic/patches-2.6.33/301-ipv6_send_rs_when_forwarding.patch @@ -0,0 +1,12 @@ +--- a/net/ipv6/addrconf.c ++++ b/net/ipv6/addrconf.c +@@ -2884,7 +2884,8 @@ static void addrconf_dad_completed(struc + 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 && + (dev->flags&IFF_LOOPBACK) == 0 && + (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL)) { |