From owner-cvs-src@FreeBSD.ORG Wed May 21 16:51:24 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C873D106564A; Wed, 21 May 2008 16:51:24 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B346D8FC20; Wed, 21 May 2008 16:51:24 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4LGpOYm002818; Wed, 21 May 2008 16:51:24 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4LGpOiP002817; Wed, 21 May 2008 16:51:24 GMT (envelope-from rrs) Message-Id: <200805211651.m4LGpOiP002817@repoman.freebsd.org> From: Randall Stewart Date: Wed, 21 May 2008 16:51:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet sctp_output.c sctputil.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 16:51:24 -0000 rrs 2008-05-21 16:51:21 UTC FreeBSD src repository Modified files: sys/netinet sctp_output.c sctputil.c Log: - sctputil.c - If debug is on, the INPKILL timer can deref a freed value. Change so that we save off a type field for display and NULL inp just for good measure. - sctp_output.c - Fix it so in sending to the loopback we use the src address of the inbound INIT. We don't want to do this for non local addresses since otherwise we might be ingressed filtered so we need to use the best src address and list the address sent to. Obtained from: time bug - Neil Wilson MFC after: 1 week Revision Changes Path 1.71 +95 -90 src/sys/netinet/sctp_output.c 1.77 +4 -4 src/sys/netinet/sctputil.c