[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <515996CF.3030809@linux-ipv6.org>
Date: Mon, 01 Apr 2013 23:16:47 +0900
From: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
To: Balakumaran Kannan <kumaran.4353@...il.com>
CC: David Miller <davem@...emloft.net>, eric.dumazet@...il.com,
kaber@...sh.net, kuznet@....inr.ac.ru, jmorris@...ei.org,
Balakumaran.Kannan@...sony.com, maruthi.thotad@...sony.com,
netdev@...r.kernel.org, jamshed.a@...sony.com,
amit.agarwal@...sony.com, takuzo.ohara@...sony.com,
aaditya.kumar@...sony.com,
YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Subject: Re: [PATCH v2] net IPv6 : Fix broken IPv6 routing table after loopback
down-up
Balakumaran Kannan wrote:
> @@ -2540,6 +2543,31 @@ static void init_loopback(struct net_dev
> }
>
> add_addr(idev, &in6addr_loopback, 128, IFA_HOST);
> +
> + /* Add routes to other interface's IPv6 addresses */
> + for_each_netdev(dev_net(dev), sp_dev) {
> +
> + if (!strcmp(sp_dev->name, dev->name))
> + continue;
> +
> + idev = __in6_dev_get(sp_dev);
> + if (NULL == idev)
> + continue;
idev == NULL or !idev.
--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists