From owner-cvs-all@FreeBSD.ORG Sun Sep 7 14:53:37 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26976106564A; Sun, 7 Sep 2008 14:53:37 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id D207E8FC12; Sun, 7 Sep 2008 14:53:36 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 0A5A941C6EA; Sun, 7 Sep 2008 16:35:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 6OeARwjNkLDG; Sun, 7 Sep 2008 16:35:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id A80D641C6DB; Sun, 7 Sep 2008 16:35:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2978744487F; Sun, 7 Sep 2008 14:30:47 +0000 (UTC) Date: Sun, 7 Sep 2008 14:30:47 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: <200809071138.m87BcYYb070650@repoman.freebsd.org> Message-ID: <20080907143036.K65801@maildrop.int.zabbadoz.net> References: <200809071138.m87BcYYb070650@repoman.freebsd.org> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: cvs commit: src/sys/netinet tcp_output.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2008 14:53:37 -0000 On Sun, 7 Sep 2008, Bjoern A. Zeeb wrote: > bz 2008-09-07 11:38:30 UTC > > FreeBSD src repository > > Modified files: > sys/netinet tcp_output.c > Log: > SVN rev 182841 on 2008-09-07 11:38:30Z by bz > > Add a second KASSERT checking for len >= 0 in the tcp output path. > > This is different to the first one (as len gets updated between those > two) and would have caught various edge cases (read bugs) at a well > defined place I had been debugging the last months instead of > triggering (random) panics further down the call graph. > > MFC after: 2 months PR: kern/118455 > Revision Changes Path > 1.154 +7 -1 src/sys/netinet/tcp_output.c > -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.