From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from stator.leun.net ([85.214.203.199]:35486 "EHLO stator.leun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932854AbaDVRBJ (ORCPT ); Tue, 22 Apr 2014 13:01:09 -0400 Date: Tue, 22 Apr 2014 18:48:24 +0200 From: Michael Leun To: "Luis R. Rodriguez" Cc: Johannes Berg , linux-wireless , Arik Nemtsov , Sander Eikelenboom Subject: Re: [PATCH 0/2] cfg80211: two reg fixes Message-ID: <20140422184824.74973bb3@xenia.leun.net> (sfid-20140422_190249_150445_CBE9483F) In-Reply-To: References: <1398137975-14275-1-git-send-email-mcgrof@do-not-panic.com> <20140422180003.6438dbb7@xenia.leun.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 22 Apr 2014 09:32:03 -0700 "Luis R. Rodriguez" wrote: > On Tue, Apr 22, 2014 at 9:00 AM, Michael Leun > wrote: > > Did I get this correct, test-ariks-patch-for-314.patch is the same > > thing as the two patches you posted and that got applied? If so, > > that does not help for 3.14, I fear. I might try them on an current > > 3.15-rc. > > No its just one patch, the first one. I'll have another look at this, > do you happen to have gdb? Can you do: > > gdb net/wireless/cfg80211.ko > l *reg_todo+0xc1 Do you prefer with or without test-ariks-patch-for-314.patch? This is with, if you need anything else please let me know. Note: I already had reversed the patch, I've put it back in and recompiled - if that changes anything when correlating this with the oops I posted... ml@jill:/usr/src/kernel/linux1> gdb net/wireless/cfg80211.ko GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". .. Reading symbols from /usr/src/kernel/linux1/net/wireless/cfg80211.ko...done. (gdb) l *reg_todo+0xc1 0x61f1 is in reg_todo (net/wireless/reg.c:1611). 1606 /* Trust a Cell base station over the AP's country IE */ 1607 if (regdom_changes(country_ie_request->alpha2)) 1608 return REG_REQ_IGNORE; 1609 return REG_REQ_ALREADY_SET; 1610 } else { 1611 if (wiphy->regulatory_flags & REGULATORY_COUNTRY_IE_IGNORE) 1612 return REG_REQ_IGNORE; 1613 } 1614 1615 if (unlikely(!is_an_alpha2(country_ie_request->alpha2))) (gdb) quit ml@jill:/usr/src/kernel/linux1> -- MfG, Michael Leun