Return-path: Received: from mail-vc0-f169.google.com ([209.85.220.169]:51845 "EHLO mail-vc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750762AbaHREhM (ORCPT ); Mon, 18 Aug 2014 00:37:12 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 17 Aug 2014 23:37:11 -0500 Message-ID: (sfid-20140818_063725_542530_B901C39A) Subject: Re: More wireless problems.. From: Linus Torvalds To: Johannes Berg , Emmanuel Grumbach , Michal Kazior Cc: Intel Linux Wireless , "John W. Linville" , Linux Wireless List , Network Development Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, Aug 17, 2014 at 11:01 PM, Linus Torvalds wrote: > > BUG: unable to handle kernel NULL pointer dereference at 0000000000000020 > IP: ieee80211_vif_use_reserved_switch+0x71c/0xb00 [mac80211] Looking at the Code: line and the code generation for that function, this *looks* to be this code: list_del(&sdata->reserved_chanctx_list); list_move(&sdata->assigned_chanctx_list, &new_ctx->assigned_vifs); sdata->reserved_chanctx = NULL; in ieee80211_vif_use_reserved_switch(), where "new_ctx" is NULL, so the "list_move()" ends up oopsing. But maybe I screwed up the analysis, I don't know the code. Looks like that is all-new code introduced by commit 5bcae31d9cb1 ("mac80211: implement multi-vif in-place reservations") And doesn't look at all IWL-specific. Adding Michal Kazior to the list of people. Linus