Received: with ECARTIS (v1.0.0; list netdev); Tue, 25 Jan 2005 22:15:02 -0800 (PST) Received: from cheetah.davemloft.net (mail@adsl-63-197-226-105.dsl.snfc21.pacbell.net [63.197.226.105]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j0Q6Es5w015453 for ; Tue, 25 Jan 2005 22:14:54 -0800 Received: from localhost ([127.0.0.1] helo=cheetah.davemloft.net ident=davem) by cheetah.davemloft.net with smtp (Exim 3.36 #1 (Debian)) id 1CtgOQ-0004V9-00; Tue, 25 Jan 2005 22:11:06 -0800 Date: Tue, 25 Jan 2005 22:11:06 -0800 From: "David S. Miller" To: David Dillow Cc: netdev@oss.sgi.com Subject: Re: [RFC 2.6.10 7/22] xfrm: Allow device drivers to force recalculation of offloads Message-Id: <20050125221106.1d87e070.davem@davemloft.net> In-Reply-To: <1106373216.3691.43.camel@ori.thedillows.org> References: <20041230035000.15@ori.thedillows.org> <20041230035000.16@ori.thedillows.org> <20050121152358.5c60d0db.davem@davemloft.net> <1106373216.3691.43.camel@ori.thedillows.org> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; sparc-unknown-linux-gnu) X-Face: "_;p5u5aPsO,_Vsx"^v-pEq09'CU4&Dc1$fQExov$62l60cgCc%FnIwD=.UF^a>?5'9Kn[;433QFVV9M..2eN.@4ZWPGbdi<=?[:T>y?SD(R*-3It"Vj:)"dP Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/650/Sun Jan 2 19:00:02 2005 clamav-milter version 0.80j on 127.0.0.1 X-Virus-Status: Clean X-archive-position: 787 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: davem@davemloft.net Precedence: bulk X-list: netdev Content-Length: 261 Lines: 8 On Sat, 22 Jan 2005 00:53:36 -0500 David Dillow wrote: > In patch 3 of the series, xfrm_offload_add() grabs a reference to the > device, and xfrm_offload_release() releases it when the offload's own > reference count hits zero. Perfect.