kern/97921: close() socket deadlocks blocked threads

Gleb Smirnoff glebius at FreeBSD.org
Wed Jun 7 05:06:05 PDT 2006


The following reply was made to PR kern/97921; it has been noted by GNATS.

From: Gleb Smirnoff <glebius at FreeBSD.org>
To: Kurt Miller <lists at intricatesoftware.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: kern/97921: close() socket deadlocks blocked threads
Date: Wed, 7 Jun 2006 14:40:55 +0400

   I have run this testcase on Linux 2.6.16.19. The program blocks,
 but if suspended/resumed it returns. recvfrom() returns -1, errno
 is EBADF.
 
   I think that we should not block (like Solaris), and return EBADF
 (like Linux).
 
 -- 
 Totus tuus, Glebius.
 GLEBIUS-RIPN GLEB-RIPE


More information about the freebsd-bugs mailing list