[Bug 253469] realtek-re-kmod MC filter problem

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 21 10:27:23 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253469

Konstantin Belousov <kib at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib at FreeBSD.org

--- Comment #17 from Konstantin Belousov <kib at FreeBSD.org> ---
Try this.  The patch should be applied on top of all patches in the realtek
driver port.

It might be easier to apply it by hands

diff --git a/if_re.c b/if_re.c
index 47466f9..d8f0176 100644
--- a/if_re.c
+++ b/if_re.c
@@ -8663,7 +8663,7 @@ struct re_softc           *sc;

         /* now program new ones */
 #if OS_VER >= VERSION(13,0)
-       if_foreach_llmaddr(ifp, re_hash_maddr, hashes);
+       mcnt = if_foreach_llmaddr(ifp, re_hash_maddr, hashes);
 #else
 #if OS_VER >= VERSION(12,0)
        if_maddr_rlock(ifp);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list