Page MenuHomeFreeBSD

D32492.id96844.diff
No OneTemporary

D32492.id96844.diff

Index: sys/kern/sys_generic.c
===================================================================
--- sys/kern/sys_generic.c
+++ sys/kern/sys_generic.c
@@ -1794,10 +1794,10 @@
*/
for (;;) {
selfdalloc(td, NULL);
- error = sopoll(so, events, NULL, td);
- /* error here is actually the ready events. */
- if (error)
- return (0);
+ if (sopoll(so, events, NULL, td) != 0) {
+ error = 0;
+ break;
+ }
error = seltdwait(td, asbt, precision);
if (error)
break;

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 2:24 PM (14 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15782988
Default Alt Text
D32492.id96844.diff (484 B)

Event Timeline