sbappend() is called by stream-oriented as well as record-oriented
authorJeffrey Hsu <hsu@dragonflybsd.org>
Wed, 20 Apr 2005 09:28:29 +0000 (09:28 +0000)
committerJeffrey Hsu <hsu@dragonflybsd.org>
Wed, 20 Apr 2005 09:28:29 +0000 (09:28 +0000)
commit2e17bcface0fb6bb665fab8b03b9583a7db11d3f
tree558fc1594ad521bb1a4e3144a1009e2eec69f4ba
parent331bc6f8584b3eca14be84bdf96b7210880d874a
sbappend() is called by stream-oriented as well as record-oriented
protocols, so we can't use the sb_lastrecord hint, which is only
for record-oriented protocols, as an optimization.  (However,
stream-oriented protocols only have one record anyways, so a last
record hint provides zero speedup here anyhow.)

Original bug with X client occasionally not working reported by Simon Schubert.
sys/kern/uipc_socket2.c