summaryrefslogtreecommitdiff
path: root/regress/misc
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-11-08 20:19:59 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-11-08 20:19:59 +0000
commit2ab98b1befd66a7f4cab183690ee83dfddf29be3 (patch)
treec0646435f4d84d7a479b0de50f6b9659d1e534cc /regress/misc
parentb2d6ebe287169f83fd459808f224c56736c2f77f (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')
0 files changed, 0 insertions, 0 deletions