Date: Mon, 3 Apr 2006 14:07:50 +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 tcp_subr.c Message-ID: <200604031407.k33E7oI9004521@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-04-03 14:07:50 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_subr.c
Log:
In TCP notify routines, check inpcb for INP_TIMEWAIT and INP_DROPPED.
The INP_DROPPED check replaces the current NULL checks; the INP_TIMEWAIT
checks appear to have always been required, but not been there, which
is/was a bug. This avoids unconditionally casting of in_ppcb to a tcpcb,
when it may be a twtcb, which may have resulted in obscure ICMP-related
panics in earlier releases.
MFC after: 3 months
Revision Changes Path
1.244 +81 -66 src/sys/netinet/tcp_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604031407.k33E7oI9004521>
