Date: Wed, 12 Jan 2005 10:15:24 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200501121015.j0CAFOUB061761@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2005-01-12 10:15:24 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: When re-connecting already connected datagram socket ensure to clean up its pending error state, which may be set in some rare conditions resulting in connect() syscall returning that bogus error and making application believe that attempt to change association has failed, while it has not in fact. There is sockets/reconnect regression test which excersises this bug. MFC after: 2 weeks Revision Changes Path 1.225 +11 -2 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501121015.j0CAFOUB061761>