sdp: Destroy the PCB lock before freeing to the zone.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
2cefa87b0b
commit
fa46ade837
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303506
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user