Module Name: src Committed By: riastradh Date: Mon Oct 9 11:28:05 UTC 2023
Modified Files: src/sys/dev/usb: if_ure.c Log Message: ure(4): Set all bits, not no bits, in multicast filter for promisc. This was lost in revision 1.40. PR kern/57648 XXX pullup-10 To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/dev/usb/if_ure.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/if_ure.c diff -u src/sys/dev/usb/if_ure.c:1.58 src/sys/dev/usb/if_ure.c:1.59 --- src/sys/dev/usb/if_ure.c:1.58 Fri Sep 16 07:34:36 2022 +++ src/sys/dev/usb/if_ure.c Mon Oct 9 11:28:05 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ure.c,v 1.58 2022/09/16 07:34:36 msaitoh Exp $ */ +/* $NetBSD: if_ure.c,v 1.59 2023/10/09 11:28:05 riastradh Exp $ */ /* $OpenBSD: if_ure.c,v 1.10 2018/11/02 21:32:30 jcs Exp $ */ /*- @@ -30,7 +30,7 @@ /* RealTek RTL8152/RTL8153 10/100/Gigabit USB Ethernet device */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ure.c,v 1.58 2022/09/16 07:34:36 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ure.c,v 1.59 2023/10/09 11:28:05 riastradh Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -358,6 +358,7 @@ ure_uno_mcast(struct ifnet *ifp) /* run promisc. mode */ rxmode |= URE_RCR_AM; /* ??? */ rxmode |= URE_RCR_AAP; + mchash[0] = mchash[1] = 0xffffffff; goto update; } ec->ec_flags &= ~ETHER_F_ALLMULTI;