From: Thomas Martitz <kugel@rockbox.org>
To: herbert@gondor.apana.org.au, netdev@vger.kernel.org
Subject: Bridge IGMP snooping question
Date: Fri, 19 Sep 2014 20:55:31 +0200 [thread overview]
Message-ID: <541C7C23.90008@rockbox.org> (raw)
Hello Linux folks,
I have one question regarding IGMP snooping on bridges, specifically
about leaving multicast groups.
br_multicast_leave_group() has this check early on:
if (!netif_running(br->dev) ||
(port && port->state == BR_STATE_DISABLED) ||
timer_pending(&querier->timer)) /* <- THIS */
goto out;
I'm wondering why the bridge code prevents group leaves if if the
querier timer is pending. From my understanding the timer acts as an
indication whether the local system is the network's querier or not (if
pending then another router is querier). Therefore this check prevents
to leave groups if there is another querier.
I'm wondering what's the rationale for this, if any. It seems to be that
the decision whether an attached client gets mc forwarded is independent
on whether the local system is querier or not. Git log does not reveal
the answer as this check is there from the beginning.
PS: This behavior conflicts with something I'm working.
Thank you very much in advance.
Best regards.
next reply other threads:[~2014-09-19 19:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 18:55 Thomas Martitz [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-02 8:13 Bridge IGMP snooping question Thomas Martitz
2014-10-04 4:05 ` Herbert Xu
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=541C7C23.90008@rockbox.org \
--to=kugel@rockbox.org \
--cc=herbert@gondor.apana.org.au \
--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 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).