rwatson 2009-02-24 11:17:50 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_usrreq.c
Log:
SVN rev 188992 on 2009-02-24 11:17:50Z by rwatson
In tcp_usr_shutdown() and tcp_usr_send(), I missed converting NULL
checks for the tcpcb, previously used to detect complete disconnection,
with INP_DROPPED checks. Correct that, preventing shutdown() from
improperly generating a TCP segment with destination IP and port of
0.0.0.0:0.
PR: kern/132050
Reported by: david gueluy <david.gueluy at netasq.com>
MFC after: 3 weeks
Revision Changes Path
1.182 +3 -2 src/sys/netinet/tcp_usrreq.c