]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ehea: fix allmulticast support
authorThadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Wed, 25 Apr 2012 07:32:11 +0000 (07:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2012 09:07:45 +0000 (05:07 -0400)
commit5d384574e8bceb9bada323da8044ca43e621886b
treec97e69c9c04c2564547967b494121684787740b6
parent62ad6fcd743792bf294f2a7ba26ab8f462065150
ehea: fix allmulticast support

There was a bug in the mask of regtype parameter for registering a
multicast filter. It was ignoring the scope bit, which was wrongly being
used for all filters. The SCOPE_ALL value adds a filter that allows all
multicast packets and ignores the MAC parameter, just what allmulticast
needs. The normals filters, however, should not use SCOPE_ALL.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ehea/ehea_main.c
drivers/net/ethernet/ibm/ehea/ehea_phyp.h