DragonFly BSD
DragonFly bugs List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[Fwd: cvs commit: src/sys/kern uipc_socket.c]


From: Maxim Sobolev <sobomax@xxxxxxxxxxx>
Date: Wed, 12 Jan 2005 14:47:41 +0200

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@xxxxxxxxxxx>
To: src-committers@xxxxxxxxxxx, cvs-src@xxxxxxxxxxx, cvs-all@xxxxxxxxxxx

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





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]