Date: Tue, 13 Jun 2006 15:16:05 +0800 From: Blue <Susan.Lan@zyxel.com.tw> To: freebsd-net@freebsd.org Subject: [FreeBSD6.1-RELEASE]problem about soisconnected() in uipc_socket2.c Message-ID: <448E6635.4010800@zyxel.com.tw>
next in thread | raw e-mail | index | archive | help
Hi,all: I have found a questionable code in soisconnected() function in uipc_socket2.c. In the very beginning, the SOCK_LOCK() would lock the socket. However, in line 127, it unlocks socket. I am wondering that SOCK_UNLOCK() should be called until all the socket's parameters are done. In my opinion, it should be located right before ACCEPT_UNLOCK(). Best regards, blue
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448E6635.4010800>