K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-16T04:41:03.000000Z K 7 svn:log V 375 Always acquire the UNIX domain socket subsystem lock (UNP lock) before dereferencing sotounpcb() and checking its value, as so_pcb is protected by protocol locking, not subsystem locking. This prevents races during close() by one thread and use of ths socket in another. unp_bind() now assert the UNP lock, and uipc_bind() now acquires the lock around calls to unp_bind(). END