diff options
author | kib <kib@FreeBSD.org> | 2012-03-07 07:31:50 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-03-07 07:31:50 +0000 |
commit | 9d4d411642d8ae4323ed9b0a43cc35dcd602a654 (patch) | |
tree | 962288acaad3ba101c032ff509e596c7e1619d71 /share | |
parent | 1ead29e7154b634bb94ffd418424a2000e42c68c (diff) | |
download | FreeBSD-src-9d4d411642d8ae4323ed9b0a43cc35dcd602a654.zip FreeBSD-src-9d4d411642d8ae4323ed9b0a43cc35dcd602a654.tar.gz |
The pipe_poll() performs lockless access to the vnode to test
fifo_iseof() condition, allowing the v_fifoinfo to be reset and freed
by fifo_cleanup().
Precalculate EOF at the places were fo_wgen is changed, and cache the
state in a new pipe state flag PIPE_SAMEWGEN.
Reported and tested by: bf
Submitted by: gianni
MFC after: 1 week (a backport)
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions