cvs commit: src/sys/netinet tcp_usrreq.c
Robert Watson
rwatson at FreeBSD.org
Mon Apr 3 09:52:59 UTC 2006
rwatson 2006-04-03 09:52:56 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_usrreq.c
Log:
After checking for SO_ISDISCONNECTED in tcp_usr_accept(), return
immediately rather than jumping to the normal output handling, which
assumes we've pulled out the inpcb, which hasn't happened at this
point (and isn't necessary).
Return ECONNABORTED instead of EINVAL when the inpcb has entered
INP_TIMEWAIT or INP_DROPPED, as this is the documented error value.
This may correct the panic seen by Ganbold.
MFC after: 1 month
Reported by: Ganbold <ganbold at micom dot mng dot net>
Revision Changes Path
1.134 +3 -5 src/sys/netinet/tcp_usrreq.c
More information about the cvs-src
mailing list