Page MenuHomeFreeBSD

D2262.1794214600.diff
No OneTemporary

Authored By
Unknown
Size
536 B
Referenced Files
None
Subscribers
None

D2262.1794214600.diff

Index: head/sys/kern/kern_poll.c
===================================================================
--- head/sys/kern/kern_poll.c
+++ head/sys/kern/kern_poll.c
@@ -367,6 +367,9 @@
struct timeval t;
int kern_load;
+ if (poll_handlers == 0)
+ return;
+
mtx_lock(&poll_mtx);
if (!netisr_pollmore_scheduled) {
mtx_unlock(&poll_mtx);
@@ -424,6 +427,9 @@
int i, cycles;
enum poll_cmd arg = POLL_ONLY;
+ if (poll_handlers == 0)
+ return;
+
mtx_lock(&poll_mtx);
if (!netisr_poll_scheduled) {
mtx_unlock(&poll_mtx);

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 9, 8:56 AM (2 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41610441
Default Alt Text
D2262.1794214600.diff (536 B)

Event Timeline