HomeFreeBSD

sdp: Use the PCB as the rx completion handler argument.

Description

sdp: Use the PCB as the rx completion handler argument.

The generic socket may be detached from the PCB before the completion
queue is drained and destroyed, so this change closes a race condition
in connection teardown.

Sponsored by: EMC / Isilon Storage Division

Details

Provenance
markjAuthored on
Parents
rS303506: sdp: Destroy the PCB lock before freeing to the zone.
Branches
Unknown
Tags
Unknown