public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Li Wei <lw@cn•fujitsu.com>
To: netdev <netdev@vger•kernel.org>
Subject: ipv6: addrconf_add_mroute() problem with loopback interface.
Date: Mon, 05 Dec 2011 10:57:45 +0800	[thread overview]
Message-ID: <4EDC3329.1040801@cn.fujitsu.com> (raw)

Hi All,

addrconf_add_mroute() create "default" multicast route for the interface, 
but with loopback interface, there would be some problem:

If we set ipv6 address for the "lo" interface *before* other interfaces, the
function addrconf_add_mroute() will create a "default" multicast route with
error set to ENETUNREACH for "lo" interface.

Later, when we send multicast packet, route subsystem will return this *error*
route, so no multicast packets can go out.

Does somebody can give me some advice that if it's necessary to add default
multicast route for loopback interface?

                 reply	other threads:[~2011-12-05  2:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4EDC3329.1040801@cn.fujitsu.com \
    --to=lw@cn$(echo .)fujitsu.com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox