看板 DFBSD_bugs 關於我們 聯絡資訊
FYI, I think DfBSD is also affected. -Maxim -------- Original Message -------- Subject: cvs commit: src/sys/kern uipc_socket.c 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 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