>Looks good to me (although the patch is mixed in with a bunch >of other crud). I've tested it out locally and will commit it >unless there are any objections. it is because of cvs issue. the important portion is below. itojun @@ -320,11 +359,8 @@ soaccept(so, nam) so->so_state &= ~SS_NOFDREF; if ((so->so_state & SS_ISDISCONNECTED) == 0) error = (*so->so_proto->pr_usrreqs->pru_accept)(so, nam); - else { - if (nam) - *nam = 0; - error = 0; - } + else + error = ECONNABORTED; splx(s); return (error); } To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RST rig... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tc... David Greenman
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... Robert Watson
- Re: [itojun@iijlab.net: accept(2) behavior with tc... Archie Cobbs
- Re: [itojun@iijlab.net: accept(2) behavior with tc... Arjan de Vet
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... Jonathan Lemon
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... itojun
- Re: [itojun@iijlab.net: accept(2) behavior with tcp RS... Jonathan Lemon