netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brian Haley <brian.haley@hp.com>
To: Ian Brown <ianbrn@gmail.com>
Cc: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>,
	netdev@vger.kernel.org
Subject: Re: Why MLDv2 Report packet is freed ?
Date: Wed, 16 Apr 2008 14:02:59 -0400	[thread overview]
Message-ID: <48063F53.4030102@hp.com> (raw)
In-Reply-To: <d0383f90804160450x31e1577en60d4a6cca29a00ca@mail.gmail.com>

Ian Brown wrote:
> Hello,
> 
> I am sorry, I tried to delve into the code and I not sure I can figure out this
> point.
>> MLD packets are handled in other place.
> 
> Can anybody please try to elaborate on this point: how
> are MLD packets handled ? Shouldn't MLD packets be
> handled by pim6sd daemon?

Yes.

> I see handlers for accepting MLD (v1 and v2)
> in pim6sd daemon;
> And in case MLD packets  should be handled by pim6sd  - shouldn't the kernel
> pass these MLD packets to the pim6sd daemon (by calling sock_queue_rcv_skb()
> in ip6mr.c) ? As far as I can understand, these MLD packets are
> dropped in icmpv6_rcv()

>From what I can tell, ip6_mc_input() makes a copy if multicast routing
is enabled.  Those copies eventually get to ip6mr_cache_report() which
delivers them to user-space (there's even a reference to pim6sd in
net/ipv6/ip6mr.c).

Have you seen them not get delivered?

-Brian

  reply	other threads:[~2008-04-16 18:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 13:23 Why MLDv2 Report packet is freed ? Ian Brown
2008-04-15 14:48 ` YOSHIFUJI Hideaki / 吉藤英明
2008-04-16 11:50   ` Ian Brown
2008-04-16 18:02     ` Brian Haley [this message]
2008-04-17  5:49       ` Ian Brown
2008-04-17 10:11         ` Rami Rosen

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=48063F53.4030102@hp.com \
    --to=brian.haley@hp.com \
    --cc=ianbrn@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).