diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 8ced29f4fcb9..2e63e76eb7d7 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -1041,7 +1041,7 @@ pipe_write(fp, uio, active_cred, flags, td) if ((space < uio->uio_resid) && (orig_resid <= PIPE_BUF)) space = 0; - if (space > 0 && (wpipe->pipe_buffer.cnt < PIPE_SIZE)) { + if (space > 0) { if ((error = pipelock(wpipe,1)) == 0) { int size; /* Transfer size */ int segsize; /* first segment to transfer */