Received: with ECARTIS (v1.0.0; list netdev); Mon, 15 Sep 2003 15:22:12 -0700 (PDT) Received: from gaz.sfgoth.com ([63.205.85.133]) by oss.sgi.com (8.12.9/8.12.5) with SMTP id h8FMM8Ya019245 for ; Mon, 15 Sep 2003 15:22:09 -0700 Received: from gaz.sfgoth.com (localhost.sfgoth.com [127.0.0.1]) by gaz.sfgoth.com (8.12.9/8.12.6) with ESMTP id h8FMUmkV099582; Mon, 15 Sep 2003 15:30:48 -0700 (PDT) (envelope-from mitch@gaz.sfgoth.com) Received: (from mitch@localhost) by gaz.sfgoth.com (8.12.9/8.12.6/Submit) id h8FMUmTq099581; Mon, 15 Sep 2003 15:30:48 -0700 (PDT) (envelope-from mitch) Date: Mon, 15 Sep 2003 15:30:48 -0700 From: Mitchell Blank Jr To: "David S. Miller" Cc: chas williams , romieu@fr.zoreil.com, netdev@oss.sgi.com Subject: Re: [PATCH][ATM]: [clip] fix race between modifying entry->vccs and clip_start_xmit() Message-ID: <20030915223048.GD92642@gaz.sfgoth.com> References: <20030915225901.A22239@electric-eye.fr.zoreil.com> <200309152159.h8FLx1Sa005910@ginger.cmf.nrl.navy.mil> <20030915150217.06b03168.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030915150217.06b03168.davem@redhat.com> User-Agent: Mutt/1.4.1i X-archive-position: 5933 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: mitch@sfgoth.com Precedence: bulk X-list: netdev David S. Miller wrote: > > which is always going to be in user context. its a bit subtle but > > there is no path to unlink_clip_vcc() that isnt in user context. > > Are you really totally sure that no interrupt path can release > a VCC? That should be the case at least for any VCC on a real interface[*]. Some ATM cards have ->close() methods that can take a while so connection teardown has to happen with some sort of sleepable context. So if there are cases where an interrupt causes the VCC to die they would need to be fixed anyways. -Mitch [*] some protocols use psuedo-interfaces for their control connections - in theory I guess they could be different but I don't believe there are any cases where they are. They wouldn't affect this issue anyways though.