Remove unlocked read annotation for sbspace(); the read is locked.
This commit is contained in:
parent
a315d43a53
commit
7d84f9d293
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130952
@ -495,7 +495,6 @@ filt_fifowrite(struct knote *kn, long hint)
|
||||
if (need_lock)
|
||||
SOCKBUF_LOCK(&so->so_snd);
|
||||
kn->kn_data = sbspace(&so->so_snd);
|
||||
/* Unlocked read. */
|
||||
if (so->so_snd.sb_state & SBS_CANTSENDMORE) {
|
||||
kn->kn_flags |= EV_EOF;
|
||||
result = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user