The locking in the -CURRENT tree for the socket stack is currently
incomplete; something we hope greatly to remedy on the way to 5.2-RELEASE.
So currently all this code runs under the Giant lock, which is why it's
safe.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
[EMAIL
Hi,
Looking at the code in uipc_socket.c and udp_usrreq.c I am a
bit confused as to how the locking mechanism works between the
sockets and the protocols. The socket calls all occur under
Giant, which the protocols do not deal with, and the protocols
all lo