sdp: Destroy the PCB lock before freeing to the zone.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Mark Johnston 2016-07-29 20:36:01 +00:00
parent 2cefa87b0b
commit fa46ade837
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303506

View File

@ -176,8 +176,8 @@ sdp_pcbfree(struct sdp_sock *ssk)
sdp_tx_ring_destroy(ssk);
sdp_rx_ring_destroy(ssk);
rw_destroy(&ssk->rx_ring.destroyed_lock);
uma_zfree(sdp_zone, ssk);
rw_destroy(&ssk->lock);
uma_zfree(sdp_zone, ssk);
}
/*