From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dave Young" Subject: Re: [PATCH retry] bluetooth : add conn add/del workqueues to avoid connection fail Date: Thu, 31 Jan 2008 09:29:05 +0800 Message-ID: References: <20080130022354.GA3132@darkstar.te-china.tietoenator.com> <20080129.211446.254604070.davem@davemloft.net> <1201688462.6218.47.camel@violet> Reply-To: BlueZ development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, David Miller , bluez-devel@lists.sf.net, linux-kernel@vger.kernel.org To: "Marcel Holtmann" Return-path: In-Reply-To: <1201688462.6218.47.camel@violet> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net List-Id: netdev.vger.kernel.org On Jan 30, 2008 6:21 PM, Marcel Holtmann wrote: > Hi Dave, > > > > The bluetooth hci_conn sysfs add/del executed in the default workqueue. > > > If the del_conn is executed after the new add_conn with same target, > > > add_conn will failed with warning of "same kobject name". > > > > > > Here add btaddconn & btdelconn workqueues, > > > flush the btdelconn workqueue in the add_conn function to avoid the issue. > > > > > > Signed-off-by: Dave Young > > > > This looks good, applied, thanks Dave. > > > > I've queued this up for 2.6.25 merging, if you want me to > > schedule it for -stable, just let me know. > > don't include it. I first have to stress test it on one of my machines. > Besides that I have to do some coding style cleanups. Sorry, I thought you forgot it. Thanks. BTW, for the bus_id bug, If there's no urgent need I think we could do the fix after driver core bus_id changes of kay which will be there soon. > > Regards > > Marcel > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/