Re: soisconnected.

2019-10-25 Thread Dheeraj Kandula
Thanks Mark for the clarification. Dheeraj On Fri, Oct 25, 2019 at 12:15 PM Mark Johnston wrote: > On Fri, Oct 25, 2019 at 11:36:53AM -0400, Dheeraj Kandula wrote: > > Hi Mark, > >I am trying to understand the purpose of certain code in > > soisconnected. > >

Re: soisconnected.

2019-10-25 Thread Mark Johnston
On Fri, Oct 25, 2019 at 11:36:53AM -0400, Dheeraj Kandula wrote: > Hi Mark, >I am trying to understand the purpose of certain code in > soisconnected. +freebsd-net > 1. When an upcall returns SO_ISCONNECTED, the sockbuf's lock is unlocked > and then soisconnected is i

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&#

[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.

Re: what means "accf" in soisconnected function? thanks!

2005-12-01 Thread Andre Oppermann
Jon wrote: > > I am reading 'soisconnected' function in 'Uipc_socket2.c' file. > I find this lines. But I cannot find accf's mean. can you explain to me?thank > you very much! This is the accept filter stuff we have. Take a look at setsockopt(2) and accep

what means "accf" in soisconnected function? thanks!

2005-12-01 Thread Jon
I am reading 'soisconnected' function in 'Uipc_socket2.c' file. I find this lines. But I cannot find accf's mean. can you explain to me?thank you very much! if ((so->so_options & SO_ACCEPTFILTER) == 0) { ... } else { ACCEPT_UNLOCK(); SOCK_LOCK(so)