From owner-cvs-src@FreeBSD.ORG Fri Jun 15 17:59:58 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8526216A469; Fri, 15 Jun 2007 17:59:58 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 366A113C48A; Fri, 15 Jun 2007 17:59:58 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5FHxwjq087474; Fri, 15 Jun 2007 17:59:58 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from rrs@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5FHxwwH087473; Fri, 15 Jun 2007 17:59:58 GMT (envelope-from rrs) Message-Id: <200706151759.l5FHxwwH087473@repoman.freebsd.org> From: Randall Stewart Date: Fri, 15 Jun 2007 17:59:57 +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_indata.c sctp_indata.h sctp_input.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: Fri, 15 Jun 2007 17:59:58 -0000 rrs 2007-06-15 17:59:57 UTC FreeBSD src repository Modified files: sys/netinet sctp_indata.c sctp_indata.h sctp_input.c Log: - Issue one, new stack reduction left packet_drop handling still thinking it had the whole chunk. This could cause a crash if a large packet drop came in. Fixed by adjusting the trunc length down to the limit. - Large sacks with lots of segments could also have same issue. Changed duplicate and segment handling to use proper get_m_ptr function to pull each block from mbuf chains. Revision Changes Path 1.31 +34 -13 src/sys/netinet/sctp_indata.c 1.8 +1 -1 src/sys/netinet/sctp_indata.h 1.40 +9 -10 src/sys/netinet/sctp_input.c