NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/59727: wsmux changes broke kqueue
The following reply was made to PR kern/59727; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: hans%NetBSD.org@localhost
Subject: Re: kern/59727: wsmux changes broke kqueue
Date: Fri, 21 Nov 2025 20:43:45 +0100
Any update on this?
Nia, could you undo that hunk (like below) and run a ktrace of your
reproducer?
Martin
Index: wsmux.c
===================================================================
RCS file: /cvsroot/src/sys/dev/wscons/wsmux.c,v
retrieving revision 1.68
diff -u -p -r1.68 wsmux.c
--- wsmux.c 7 Apr 2025 11:18:44 -0000 1.68
+++ wsmux.c 21 Nov 2025 19:42:58 -0000
@@ -589,7 +589,12 @@ wsmuxkqfilter(dev_t dev, struct knote *k
return (1);
}
- KASSERTMSG(sc->sc_base.me_evp == NULL, "wsmuxkqfilter: not open\n");
+ if (sc->sc_base.me_evp == NULL) {
+#ifdef DIAGNOSTIC
+ printf("wsmuxkqfilter: not open\n");
+#endif
+ return (1);
+ }
return (wsevent_kqfilter(sc->sc_base.me_evp, kn));
}
Home |
Main Index |
Thread Index |
Old Index