NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/57648: ure(4) ignores multicasts in promisc mode
The following reply was made to PR kern/57648; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/57648: ure(4) ignores multicasts in promisc mode
Date: Mon, 9 Oct 2023 08:07:16 +0200
On Sun, Oct 08, 2023 at 08:35:01PM +0000, sc.dying%gmail.com@localhost wrote:
> >How-To-Repeat:
> code comparison with netbsd-9
Have you tested it?
> Please apply this patch.
>
> --- sys/dev/usb/if_ure.c.orig 2022-09-16 22:11:45.019756111 +0000
> +++ sys/dev/usb/if_ure.c 2023-10-08 19:35:26.905586897 +0000
> @@ -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] = ~0U;
Shouldn't this be a no-op due to URE_RCR_AM being set?
Martin
Home |
Main Index |
Thread Index |
Old Index