From owner-freebsd-net@FreeBSD.ORG Tue Feb 5 20:52:19 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 355BE78C; Tue, 5 Feb 2013 20:52:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 129A17CD; Tue, 5 Feb 2013 20:52:19 +0000 (UTC) Received: from pakbsde14.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 7CE90B91A; Tue, 5 Feb 2013 15:52:18 -0500 (EST) From: John Baldwin To: Randall Stewart Subject: Re: Driver patch to look at... Date: Tue, 5 Feb 2013 15:52:04 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p22; KDE/4.5.5; amd64; ; ) References: <201302051411.52495.jhb@freebsd.org> <74624C61-0564-420F-9F82-0475488F857C@lakerest.net> In-Reply-To: <74624C61-0564-420F-9F82-0475488F857C@lakerest.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201302051552.04275.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 05 Feb 2013 15:52:18 -0500 (EST) Cc: freebsd-net@freebsd.org, Robert Watson , Jack Vogel , Kip Macy X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 20:52:19 -0000 On Tuesday, February 05, 2013 2:30:36 pm Randall Stewart wrote: > Ok > > Here it is one last time (I hope) with the updates ;-) One more suggestion. I would make the check in buf_ring_putback_sc() a KASSERT() so that in the production case we don't pay for a branch that should never occur. -- John Baldwin