All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Dongpo Li <lidongpo@hisilicon.com>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: question about function igmp_stop_timer() in net/ipv4/igmp.c
Date: Tue, 25 Oct 2016 14:19:36 +0200	[thread overview]
Message-ID: <20161025121936.GI22417@lunn.ch> (raw)
In-Reply-To: <580F471D.5050204@hisilicon.com>

> Otherwise the host can't send IGMP leave message when it leaves the
> group because the im->reporter is 0.

Leave is optional for IGMP v2, so net sending it is fine. And only a
querier is going to take any notice of it.

What happens when you have a querier in your network and you are using
IGMPv3. That is the use case which matters.

     Andrew

      reply	other threads:[~2016-10-25 12:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-24 11:50 question about function igmp_stop_timer() in net/ipv4/igmp.c Dongpo Li
2016-10-24 15:32 ` Andrew Lunn
2016-10-25  1:13   ` Dongpo Li
2016-10-25  7:39     ` Andrew Lunn
2016-10-25 11:50       ` Dongpo Li
2016-10-25 12:19         ` Andrew Lunn [this message]

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=20161025121936.GI22417@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=lidongpo@hisilicon.com \
    --cc=netdev@vger.kernel.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 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.