Date: Mon, 10 Sep 2007 14:49:33 +0000 (UTC) From: Ken Smith <kensmith@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: <200709101449.l8AEnX85027915@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kensmith 2007-09-10 14:49:33 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_input.c
Log:
Make sure that either inp is NULL or we have obtained a lock on it before
jumping to dropunlock to avoid a panic. While here move the calls to
ipsec4_in_reject() and ipsec6_in_reject() so they are after we obtain
the lock on inp.
Original patch to avoid panic: pjd
Review of locking adjustments: gnn, sam
Approved by: re (rwatson)
Revision Changes Path
1.368 +13 -13 src/sys/netinet/tcp_input.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709101449.l8AEnX85027915>
