Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94a6702b authored by Guobao Wang's avatar Guobao Wang Committed by lena wang
Browse files

[ALPS05475965] IPv6: No RS for VzW case



ifp->idev->cnf.rtr_solicits is -1 for infinite.
remove ifp->idev->cnf.rtr_solicits > 0 to make
sure RS be sent.

MTK-Commit-Id: cfd327f322ea219bcffad75155832d026f554f57

Change-Id: I073ca36137817b9f8ae9d3d72596cc878f086a02
CR-Id: ALPS05475965
Feature: IPv6 over MD
Signed-off-by: default avatarGuobao Wang <guobao.wang@mediatek.com>
parent 2634fc58
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4502,7 +4502,6 @@ static void inet6_send_rs_vzw(struct inet6_ifaddr *ifp)
	 *so this first using global address
	 */
	if (ipv6_accept_ra(ifp->idev) &&
	    ifp->idev->cnf.rtr_solicits > 0 &&
	    (dev->flags & IFF_LOOPBACK) == 0) {
		pr_info("[mtk_net][IPv6][%s] send refresh rs: dev name:%s\n",
			__func__, dev->name);