| version 1.48.2.4, 2001/03/12 13:31:38 |
version 1.48.2.5, 2001/03/27 15:32:25 |
| Line 256 soaccept(struct socket *so, struct mbuf |
|
| Line 256 soaccept(struct socket *so, struct mbuf |
|
| if ((so->so_state & SS_NOFDREF) == 0) |
if ((so->so_state & SS_NOFDREF) == 0) |
| panic("soaccept: !NOFDREF"); |
panic("soaccept: !NOFDREF"); |
| so->so_state &= ~SS_NOFDREF; |
so->so_state &= ~SS_NOFDREF; |
| if ((so->so_state & SS_ISDISCONNECTED) == 0) |
if ((so->so_state & SS_ISDISCONNECTED) == 0 || |
| |
(so->so_proto->pr_flags & PR_ABRTACPTDIS) == 0) |
| error = (*so->so_proto->pr_usrreq)(so, PRU_ACCEPT, |
error = (*so->so_proto->pr_usrreq)(so, PRU_ACCEPT, |
| (struct mbuf *)0, nam, (struct mbuf *)0, (struct proc *)0); |
(struct mbuf *)0, nam, (struct mbuf *)0, (struct proc *)0); |
| else |
else |