Date: Tue, 23 Nov 2004 23:41:20 +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_input.c Message-ID: <200411232341.iANNfKuB080487@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-11-23 23:41:20 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_input.c
Log:
In tcp_reass(), assert the inpcb lock on the passed tcpcb, since the
contents of the tcpcb are read and modified in volume.
In tcp_input(), replace th comparison with 0 with a comparison with
NULL.
At the 'findpcb', 'dropafterack', and 'dropwithreset' labels in
tcp_input(), assert 'headlocked'. Try to improve consistency between
various assertions regarding headlocked to be more informative.
MFC after: 2 weeks
Revision Changes Path
1.258 +19 -12 src/sys/netinet/tcp_input.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411232341.iANNfKuB080487>
