OpenCloudOS-Kernel/drivers/net/ehea
Breno Leitao a4910b7444 ehea: Fix multicast registration on semi-promiscuous mode
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@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-23 16:33:31 -04:00
..
Makefile
ehea.h ehea: Increase the skb array usage 2011-01-11 14:03:09 -08:00
ehea_ethtool.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-3.6 2011-05-11 14:26:58 -04:00
ehea_hw.h ehea: fix ehea.h checkpatch complaints 2008-02-03 04:25:55 -08:00
ehea_main.c ehea: Fix multicast registration on semi-promiscuous mode 2011-05-23 16:33:31 -04:00
ehea_phyp.c ehea: Use the standard logging functions 2010-12-13 10:05:14 -08:00
ehea_phyp.h powerpc: Move ehea hcall definitions into hvcall.h 2009-11-24 14:33:03 +11:00
ehea_qmr.c ehea: Use the standard logging functions 2010-12-13 10:05:14 -08:00
ehea_qmr.h Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00