HomeFreeBSD

Push down pcbinfo and inpcb locking from udp_send() into udp_output().

Description

Push down pcbinfo and inpcb locking from udp_send() into udp_output().
This provides greater context for the locking and allows us to avoid
locking the pcbinfo structure if not binding operations will take
place (i.e., already bound, connected, and no expliti sendto()
address).

Details

Provenance
rwatsonAuthored on Aug 19 2004, 1:13 AM
Parents
rG4c2bb15a89a3: In in_pcbrehash(), do assert the inpcb lock as well as the pcbinfo lock.
Branches
Unknown
Tags
Unknown

Event Timeline