From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265170AbUEMUGX (ORCPT ); Thu, 13 May 2004 16:06:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264501AbUEMTwk (ORCPT ); Thu, 13 May 2004 15:52:40 -0400 Received: from postfix4-2.free.fr ([213.228.0.176]:17897 "EHLO postfix4-2.free.fr") by vger.kernel.org with ESMTP id S264894AbUEMTuX (ORCPT ); Thu, 13 May 2004 15:50:23 -0400 From: Duncan Sands To: Alan Stern , Greg KH Subject: Re: PATCH: (as279) Don't delete interfaces until all are unbound Date: Thu, 13 May 2004 21:50:21 +0200 User-Agent: KMail/1.5.4 Cc: Nuno Ferreira , Kernel development list , References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200405132150.21710.baldrick@free.fr> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Alan, > + /* Now that the interfaces are unbound, nobody should > + * try to access them. > + */ how is usbfs going to claim interfaces after this? > + * Don't call this function unless you are bound to one of the interfaces > + * on this device or you own the dev->serialize semaphore! Owning dev->serialize won't stop an Oops if the interfaces are all NULL... All the best, Duncan.