cvs commit: src/sys/kern uipc_socket.c
sobomax 2005-01-12 10:15:24 UTC
FreeBSD src repository
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
Received on Wed Jan 12 2005 - 10:15:24 UTC