diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-11-08 20:19:59 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-11-08 20:19:59 +0000 |
commit | 2ab98b1befd66a7f4cab183690ee83dfddf29be3 (patch) | |
tree | c0646435f4d84d7a479b0de50f6b9659d1e534cc /regress/misc/exceptions | |
parent | b2d6ebe287169f83fd459808f224c56736c2f77f (diff) |
The TF_BLOCKOUTPUT flag is set around all sorwakeup() and sowwakeup()
calls in tcp_input(). When I added this code for socket splicing,
I have missed that they may be called indirectly through functions.
Although not strictly necessary since we have the sosplice thread,
put that flag consistently when we want to prevent that tcp_output()
is called in the middle of tcp_input(). As soisconnected(),
soisdisconnected(), and socantrcvmore() call the wakeup functions
from tcp_input(), set the TF_BLOCKOUTPUT flag around them.
OK visa@
Diffstat (limited to 'regress/misc/exceptions')
0 files changed, 0 insertions, 0 deletions