Return-path: Received: from crystal.sipsolutions.net ([195.210.38.204]:43999 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752590AbXH3MEY (ORCPT ); Thu, 30 Aug 2007 08:04:24 -0400 Subject: Re: oops with recent wireless-dev tree From: Johannes Berg To: Jochen Voss Cc: linux wireless list , linville@tuxdriver.com, netdev , shemminger@linux-foundation.org In-Reply-To: <20070829223752.GA6969@seehuhn.de> References: <20070829223752.GA6969@seehuhn.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-k++eE6lgayPUMaShUuKJ" Date: Thu, 30 Aug 2007 14:05:30 +0200 Message-Id: <1188475530.2963.20.camel@johannes.berg> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: --=-k++eE6lgayPUMaShUuKJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Jochen, [added CCs since it affects bridge code] > If I read this correctly, the EIP in the last line corresponds to > net/bridge/br_if.c, line 36: >=20 > static int port_cost(struct net_device *dev) > { > if (dev->ethtool_ops->get_settings) { > ^^^^ >=20 > As far as I can figure out, dev->ethtool_ops is NULL and the crash > happens while trying to derefernce ...->get_settings. >=20 > Is dev->ethtool_ops allowed to be NULL? In this case the appended > patch might be the correct fix. At least it makes the oops disappear > for me. Another possible fix would be to add an ethtool_ops structure > to the device created by b43. I don't think adding ethtool_ops in mac80211 should be necessary. Stephen? johannes --=-k++eE6lgayPUMaShUuKJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Comment: Johannes Berg (powerbook) iD8DBQBG1rKK/ETPhpq3jKURAidxAJ43uGOXdW8H7E9VH+Kft4Ix4At+0QCeOtju Q4/RpDfYQGtbeINda8xd0ic= =NaRp -----END PGP SIGNATURE----- --=-k++eE6lgayPUMaShUuKJ--