mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Fix select on named pipes without a reader.
PR: kern/19871 MFC after: 1 month
This commit is contained in:
parent
7f96dac84d
commit
118fdf009f
1 changed files with 0 additions and 1 deletions
|
|
@ -199,7 +199,6 @@ fifo_open(ap)
|
|||
}
|
||||
fip->fi_readers = fip->fi_writers = 0;
|
||||
wso->so_snd.sb_lowat = PIPE_BUF;
|
||||
rso->so_state |= SS_CANTRCVMORE;
|
||||
}
|
||||
if (ap->a_mode & FREAD) {
|
||||
fip->fi_readers++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue