From owner-svn-src-all@FreeBSD.ORG Fri Nov 14 17:32:20 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCFB1FDE; Fri, 14 Nov 2014 17:32:20 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B78017C3; Fri, 14 Nov 2014 17:32:20 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4D834B964; Fri, 14 Nov 2014 12:32:19 -0500 (EST) From: John Baldwin To: Gleb Smirnoff Subject: Re: svn commit: r274494 - head/sys/kern Date: Fri, 14 Nov 2014 12:31:10 -0500 Message-ID: <1491646.i8AZoqVlsK@ralph.baldwin.cx> User-Agent: KMail/4.14.2 (FreeBSD/10.1-PRERELEASE; KDE/4.14.2; amd64; ; ) In-Reply-To: <201411140602.sAE62Tdu031281@svn.freebsd.org> References: <201411140602.sAE62Tdu031281@svn.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 14 Nov 2014 12:32:19 -0500 (EST) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2014 17:32:21 -0000 On Friday, November 14, 2014 06:02:29 AM Gleb Smirnoff wrote: > Author: glebius > Date: Fri Nov 14 06:02:29 2014 > New Revision: 274494 > URL: https://svnweb.freebsd.org/changeset/base/274494 > > Log: > There should not be zero length mbufs in socket buffers. The code comes > from r1451, and thus can't be explained. A patch with explicit panic() > here survived all tests. It can be explained. :) https://svnweb.freebsd.org/csrg?view=revision&revision=17331 It seems even when it was added it wasn't necessary: Author: karels Date: Fri Nov 2 10:39:52 1984 UTC (30 years ago) Changed paths: 1 Log Message: drop trailing null mbufs in sbdrop (probably unnecessary now) -- John Baldwin