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

Maxim Sobolev sobomax at FreeBSD.org
Wed Jan 12 04:47:41 PST 2005


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






More information about the Bugs mailing list