cvs commit: src/sys/kern uipc_socket2.c

Jeffrey Hsu hsu at crater.dragonflybsd.org
Wed Apr 20 02:29:19 PDT 2005


hsu         2005/04/20 02:28:29 PDT

DragonFly src repository

  Modified files:
    sys/kern             uipc_socket2.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.17      +2 -1      src/sys/kern/uipc_socket2.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket2.c.diff?r1=1.16&r2=1.17&f=u





More information about the Commits mailing list