From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262225AbUBXLU0 (ORCPT ); Tue, 24 Feb 2004 06:20:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262228AbUBXLU0 (ORCPT ); Tue, 24 Feb 2004 06:20:26 -0500 Received: from linux-bt.org ([217.160.111.169]:5524 "EHLO mail.holtmann.net") by vger.kernel.org with ESMTP id S262225AbUBXLUZ (ORCPT ); Tue, 24 Feb 2004 06:20:25 -0500 Subject: Re: Please back out the bluetooth sysfs support From: Marcel Holtmann To: "David S. Miller" Cc: viro@parcelfarce.linux.theplanet.co.uk, Christoph Hellwig , Linus Torvalds , Linux Kernel Mailing List In-Reply-To: <20040223232149.5dd3a132.davem@redhat.com> References: <20040223103613.GA5865@lst.de> <20040223101231.71be5da2.davem@redhat.com> <1077560544.2791.63.camel@pegasus> <20040223184525.GA12656@lst.de> <1077582336.2880.12.camel@pegasus> <20040224004151.GF31035@parcelfarce.linux.theplanet.co.uk> <20040223232149.5dd3a132.davem@redhat.com> Content-Type: text/plain Message-Id: <1077621601.2880.27.camel@pegasus> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 24 Feb 2004 12:20:01 +0100 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi Dave, > > > - skb->dev = (void *) &bfusb->hdev; > > > + skb->dev = (void *) bfusb->hdev; > > > > Wait a bloody minute. skb->dev is supposed to be net_device; what's going > > on here? > > Oh yeah, this is busted. > I'm surprised this doesn't explode. we used this from the beginning and I don't see where this can explode, because the SKB's are only used inside the Bluetooth subsystem. Regards Marcel