Re: [FreeBSD6.1-RELEASE]problem about soisconnected() in uipc_socket2.c

2006-06-13 Thread Robert Watson
On Tue, 13 Jun 2006, Blue wrote: 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 par

[FreeBSD6.1-RELEASE]problem about soisconnected() in uipc_socket2.c

2006-06-13 Thread Blue
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 o