[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110523.163423.238991063346962299.davem@davemloft.net>
Date: Mon, 23 May 2011 16:34:23 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: leitao@...ux.vnet.ibm.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ehea: Fix multicast registration on semi-promiscuous
mode
From: leitao@...ux.vnet.ibm.com
Date: Mon, 23 May 2011 10:36:35 -0300
> Ehea will not register multicast groups in phyp if the physical
> interface is in promiscuous mode. But it should register if the
> logical port is in promiscuous mode, but the physical port is not.
>
> Ehea physical promiscuous mode is defined by ehea_port->promisc,
> while logical port is defined by IFF_PROMISC.
>
> So currently, if the user set the interface in promiscuous mode,
> IGMP will not be registred in PHYP, and PHYP will never pass
> the multicast packet to the logical port, which is bad
>
> So, this patch just fixes it, assuring that we register in phyp
> if the physical port is not on promiscuous mode.
>
> Signed-off-by: Breno Leitao <leitao@...ux.vnet.ibm.com>
Applied, thanks.
--
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