cvs commit: src/sys/netinet tcp_usrreq.c

[ Available lists | Index of cvs-src-old | Month of Feb 2009 | Week of 24 Feb 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Robert Watson <rwatson@FreeBSD.org>
Date
24 Feb 2009 11:18:01
Subject
cvs commit: src/sys/netinet tcp_usrreq.c
Message-ID
200902241118.n1OBI157047503@repoman.freebsd.org


[ Hide this part ]
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

Elapsed time: 0.094 seconds