diff options
author | Breno Leitao <leitao@linux.vnet.ibm.com> | 2011-05-23 07:36:35 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-24 00:33:31 +0400 |
commit | a4910b744486254cfa61995954c118fb2283c4fd (patch) | |
tree | 7bfbb023769fdd777d7ec61a4b59c11560f31b00 /net/sched | |
parent | 418f275ed5b03c48e0e6c3401466660dfe894f76 (diff) | |
download | linux-a4910b744486254cfa61995954c118fb2283c4fd.tar.xz |
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>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions