Add a SOCKBUF_LOCK() to a rarely executed path in do_sendfile().
This commit is contained in:
parent
a4a358733d
commit
86dac448f2
@ -1804,6 +1804,7 @@ retry_lookup:
|
||||
if (m_header != NULL) {
|
||||
m = m_header;
|
||||
m_header = NULL;
|
||||
SOCKBUF_LOCK(&so->so_snd);
|
||||
goto retry_space;
|
||||
} else
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user