Page MenuHomeFreeBSD

D27878.diff
No OneTemporary

D27878.diff

diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -857,6 +857,8 @@
pipeselwakeup(rpipe);
PIPE_UNLOCK(rpipe);
+ if (nread > 0)
+ td->td_ru.ru_msgrcv++;
return (error);
}
@@ -1314,6 +1316,8 @@
pipeunlock(wpipe);
PIPE_UNLOCK(rpipe);
+ if (uio->uio_resid != orig_resid)
+ td->td_ru.ru_msgsnd++;
return (error);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 11:18 AM (11 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15604184
Default Alt Text
D27878.diff (395 B)

Event Timeline