[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130430034538.GA20631@gondor.apana.org.au>
Date: Tue, 30 Apr 2013 11:45:38 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Cong Wang <amwang@...hat.com>
Cc: netdev@...r.kernel.org,
Stephen Hemminger <stephen@...workplumber.org>,
"David S. Miller" <davem@...emloft.net>,
Adam Baker <linux@...er-net.org.uk>
Subject: Re: [Patch net-next v2 3/3] bridge: send query as soon as leave is
received
On Tue, Apr 30, 2013 at 11:41:10AM +0800, Cong Wang wrote:
> From: Cong Wang <amwang@...hat.com>
>
> Continue sending queries when leave is received if the user marks
> it as a querier.
>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Cc: Stephen Hemminger <stephen@...workplumber.org>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: Adam Baker <linux@...er-net.org.uk>
> Signed-off-by: Cong Wang <amwang@...hat.com>
> ---
> v2: only send query to the port received leave
>
> net/bridge/br_multicast.c | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
> index bab3d5a..b1879c8 100644
> --- a/net/bridge/br_multicast.c
> +++ b/net/bridge/br_multicast.c
> @@ -1250,6 +1250,13 @@ static void br_multicast_leave_group(struct net_bridge *br,
> if (!mp)
> goto out;
>
> + if (br->multicast_querier) {
> + if (port)
> + __br_multicast_enable_port(port);
> + else
> + mod_timer(&br->multicast_query_timer, jiffies);
> + }
AFAICS this is still sending a general query as opposed to a
group-specific query, no?
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists