cvs commit: src/sys/kern kern_descrip.c kern_synch.c uipc_socket.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jan 13 15:05:48 PST 2005


dillon      2005/01/13 15:05:32 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_descrip.c kern_synch.c uipc_socket.c 
  Log:
  When re-connecting an already connected datagram socket be sure to clean
  up its pending error state, which may be set in some rare conditions
  resulting in the connect() syscall returning a bogus error and making
  application believe that the attempt to change association has failed,
  when in fact it has succeeded.
  
  Submitted-by: Maxim Sobolev <sobomax at xxxxxxxxxxx>
  Taken-from: FreeBSD/1.225 (Maxim Sobolev)
  
  Revision  Changes    Path
  1.35      +18 -10    src/sys/kern/kern_descrip.c
  1.39      +17 -4     src/sys/kern/kern_synch.c
  1.27      +8 -2      src/sys/kern/uipc_socket.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.34&r2=1.35&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.26&r2=1.27&f=u





More information about the Commits mailing list