mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove unlocked read annotation for sbspace(); the read is locked.
This commit is contained in:
parent
a315d43a53
commit
7d84f9d293
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue