Date: Tue, 4 Apr 2006 12:26:07 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.c tcp_input.c tcp_subr.c Message-ID: <200604041226.k34CQ8wb042186@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-04-04 12:26:07 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c tcp_input.c tcp_subr.c Log: Before dereferencing intotw() when INP_TIMEWAIT, check for inp_ppcb being NULL. We currently do allow this to happen, but may want to remove that possibility in the future. This case can occur when a socket is left open after TCP wraps up, and the timewait state is recycled. This will be cleaned up in the future. Found by: Kazuaki Oda <kaakun at highway dot ne dot jp> MFC after: 3 months Revision Changes Path 1.172 +14 -4 src/sys/netinet/in_pcb.c 1.295 +9 -0 src/sys/netinet/tcp_input.c 1.245 +15 -5 src/sys/netinet/tcp_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604041226.k34CQ8wb042186>