version 1.229, 2014/07/31 03:39:35 |
version 1.230, 2014/07/31 20:28:59 |
Line 778 soabort(struct socket *so) |
|
Line 778 soabort(struct socket *so) |
|
KASSERT(so->so_head == NULL); |
KASSERT(so->so_head == NULL); |
|
|
so->so_aborting++; /* XXX */ |
so->so_aborting++; /* XXX */ |
error = (*so->so_proto->pr_usrreqs->pr_generic)(so, |
error = (*so->so_proto->pr_usrreqs->pr_abort)(so); |
PRU_ABORT, NULL, NULL, NULL, NULL); |
|
refs = --so->so_aborting; /* XXX */ |
refs = --so->so_aborting; /* XXX */ |
if (error || (refs == 0)) { |
if (error || (refs == 0)) { |
sofree(so); |
sofree(so); |