HomeFreeBSD

Add UNP_UNLOCK_ASSERT() to asser that the UNIX domain socket subsystem

Description

Add UNP_UNLOCK_ASSERT() to asser that the UNIX domain socket subsystem
lock is not held.

Rather than annotating that the lock is released after calls to
unp_detach() with a comment, annotate with an assertion.

Assert that the UNIX domain socket subsystem lock is not held when
unp_externalize() and unp_internalize() are called.

Details

Provenance
rwatsonAuthored on Aug 19 2004, 1:45 AM
Parents
rG5c32ea6517b3: Push down pcbinfo and inpcb locking from udp_send() into udp_output().
Branches
Unknown
Tags
Unknown

Event Timeline