Page MenuHomeFreeBSD

D2262.id.diff
No OneTemporary

D2262.id.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, Apr 20, 1:21 AM (20 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31813663
Default Alt Text
D2262.id.diff (536 B)

Event Timeline