From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
To: Balakumaran Kannan <kumaran.4353@gmail.com>
Cc: David Miller <davem@davemloft.net>,
eric.dumazet@gmail.com, kaber@trash.net, kuznet@ms2.inr.ac.ru,
jmorris@namei.org, Balakumaran.Kannan@ap.sony.com,
maruthi.thotad@ap.sony.com, netdev@vger.kernel.org,
jamshed.a@ap.sony.com, amit.agarwal@ap.sony.com,
takuzo.ohara@jp.sony.com, aaditya.kumar@ap.sony.com,
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Subject: Re: [PATCH v2] net IPv6 : Fix broken IPv6 routing table after loopback down-up
Date: Mon, 01 Apr 2013 23:16:47 +0900 [thread overview]
Message-ID: <515996CF.3030809@linux-ipv6.org> (raw)
In-Reply-To: <515976BE.6060607@gmail.com>
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
next prev parent reply other threads:[~2013-04-01 14:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 13:27 [PATCH v2] net IPv6 : Fix broken IPv6 routing table after loopback down-up Balakumaran Kannan
2013-03-28 13:44 ` Eric Dumazet
2013-03-28 13:45 ` Eric Dumazet
2013-03-28 14:04 ` Balakumaran Kannan
2013-03-28 14:47 ` Balakumaran Kannan
2013-03-28 15:14 ` Balakumaran Kannan
2013-03-29 19:17 ` David Miller
2013-03-31 6:38 ` Balakumaran Kannan
2013-04-01 11:59 ` Balakumaran Kannan
2013-04-01 14:16 ` YOSHIFUJI Hideaki [this message]
2013-04-02 10:45 ` Balakumaran Kannan
2013-04-02 18:37 ` David Miller
2013-03-28 18:23 ` Paul E. McKenney
2013-03-28 18:49 ` Eric Dumazet
2013-03-28 19:39 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=515996CF.3030809@linux-ipv6.org \
--to=yoshfuji@linux-ipv6.org \
--cc=Balakumaran.Kannan@ap.sony.com \
--cc=aaditya.kumar@ap.sony.com \
--cc=amit.agarwal@ap.sony.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=jamshed.a@ap.sony.com \
--cc=jmorris@namei.org \
--cc=kaber@trash.net \
--cc=kumaran.4353@gmail.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=maruthi.thotad@ap.sony.com \
--cc=netdev@vger.kernel.org \
--cc=takuzo.ohara@jp.sony.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.