The following reply was made to PR kern/122839; it has been noted by GNATS.

From: Tomas Svensson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc:  
Subject: Re: kern/122839: [multicast] FreeBSD 7 multicast routing problem
Date: Wed, 23 Apr 2008 15:16:56 +0200

 There is an obvious bug in the em driver regarding promiscuous multicast 
 (ALLMULTI), and I believe the following is the correct solution:
 
 Index: if_em.c
 ===================================================================
 RCS file: /usr/local/cvsroot/FreeBSD7/sys/dev/em/if_em.c,v
 retrieving revision 1.1.1.1
 diff -u -r1.1.1.1 if_em.c
 --- if_em.c    3 Mar 2008 13:50:01 -0000       1.1.1.1
 +++ if_em.c    23 Apr 2008 10:43:23 -0000
 @@ -1080,7 +1080,7 @@
                if (ifp->if_flags & IFF_UP) {
                        if ((ifp->if_drv_flags & IFF_DRV_RUNNING)) {
                                if ((ifp->if_flags ^ adapter->if_flags) &
 -                                  IFF_PROMISC) {
 +                                  (IFF_PROMISC | IFF_ALLMULTI)) {
                                        em_disable_promisc(adapter);
                                        em_set_promisc(adapter);
                                }
 
 It fixes the problem for me on FreeBSD 7.0 and FreeBSD 6.2.
 
 Best regards,
 -Tomas
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to