version 1.159.2.1, 2008/05/18 12:35:11 |
version 1.163, 2008/04/29 17:35:31 |
Line 708 soabort(struct socket *so) |
|
Line 708 soabort(struct socket *so) |
|
error = (*so->so_proto->pr_usrreq)(so, PRU_ABORT, NULL, |
error = (*so->so_proto->pr_usrreq)(so, PRU_ABORT, NULL, |
NULL, NULL, NULL); |
NULL, NULL, NULL); |
refs = --so->so_aborting; /* XXX */ |
refs = --so->so_aborting; /* XXX */ |
if (error || (refs == 0)) { |
if (error) { |
sofree(so); |
sofree(so); |
} else { |
} else { |
sounlock(so); |
sounlock(so); |
|
if (refs == 0) |
|
sofree(so); |
} |
} |
return error; |
return error; |
} |
} |