Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=dbf812d6ae6da1bfd01ea6abc5af60b358e4f9ba
Commit:     dbf812d6ae6da1bfd01ea6abc5af60b358e4f9ba
Parent:     82a0244df8165b0345cde5258afe176c12dd1e99
Author:     YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 13:45:43 2007 +0900
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 18:29:38 2007 -0400

    ARM/ETHER3: Handle multicast frames.
    
    Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]>
    
    --
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/arm/ether3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/arm/ether3.c b/drivers/net/arm/ether3.c
index da71350..a7cac69 100644
--- a/drivers/net/arm/ether3.c
+++ b/drivers/net/arm/ether3.c
@@ -464,7 +464,7 @@ static void ether3_setmulticastlist(struct net_device *dev)
        if (dev->flags & IFF_PROMISC) {
                /* promiscuous mode */
                priv(dev)->regs.config1 |= CFG1_RECVPROMISC;
-       } else if (dev->flags & IFF_ALLMULTI) {
+       } else if (dev->flags & IFF_ALLMULTI || dev->mc_count) {
                priv(dev)->regs.config1 |= CFG1_RECVSPECBRMULTI;
        } else
                priv(dev)->regs.config1 |= CFG1_RECVSPECBROAD;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to