diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-04-03 14:07:50 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-04-03 14:07:50 +0000 |
commit | 56cba4038add12f6239424c0712aec3dec008405 (patch) | |
tree | f98165cab94c0b90aea02db4066414348946cf0b /libexec/rshd | |
parent | d67aff8ec432c4f2d1e0c1acf831f238931c2429 (diff) | |
download | FreeBSD-src-56cba4038add12f6239424c0712aec3dec008405.zip FreeBSD-src-56cba4038add12f6239424c0712aec3dec008405.tar.gz |
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
Diffstat (limited to 'libexec/rshd')
0 files changed, 0 insertions, 0 deletions