Acquire the accept mutex in soabort() before calling sotryfree(), as
that is now required. RELENG_5_3 candidate. Foot provided by: Dikshie <dikshie at ppk dot itb dot ac dot id>
This commit is contained in:
parent
26105004c3
commit
aae2782bff
@ -490,6 +490,7 @@ soabort(so)
|
||||
|
||||
error = (*so->so_proto->pr_usrreqs->pru_abort)(so);
|
||||
if (error) {
|
||||
ACCEPT_LOCK();
|
||||
SOCK_LOCK(so);
|
||||
sotryfree(so); /* note: does not decrement the ref count */
|
||||
return error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user