The append side of a socketbuffer is not allowed to call sbflush().
authorclaudio <claudio@openbsd.org>
Wed, 14 Jul 2010 20:56:35 +0000 (20:56 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 14 Jul 2010 20:56:35 +0000 (20:56 +0000)
commit79b08af154120286c5ea053e2dbf61b745deede3
tree671a9fda38850074ac7a9edfd6d10b45cce987a8
parent2ebf542f019c47d598627f03d196c2ff9a161139
The append side of a socketbuffer is not allowed to call sbflush().
Learned the hard way. dlg@ confirmed that it is save to just remove them,
the desync will still work but the reader needs to dequeue all packets first.
sys/net/rtsock.c