From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: NULL deref in bnx2 / crashes ? ( was: netconsole leads to stalled CPU task ) Date: Mon, 17 Sep 2012 23:17:26 +0800 Message-ID: <50573F06.90609@gmail.com> References: <1345634026.5158.1084.camel@edumazet-glaptop> <1345640757.5158.1321.camel@edumazet-glaptop> <1347455135.13103.949.camel@edumazet-glaptop> <50532FA1.3070706@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Eric Dumazet , netdev@vger.kernel.org To: Sylvain Munaut Return-path: Received: from mail-ob0-f174.google.com ([209.85.214.174]:57667 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754816Ab2IQPRb (ORCPT ); Mon, 17 Sep 2012 11:17:31 -0400 Received: by obbuo13 with SMTP id uo13so9074611obb.19 for ; Mon, 17 Sep 2012 08:17:31 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 09/17/2012 06:57 PM, Sylvain Munaut wrote: > Hi, > >>> Anyway, I think Eric is right, the bug may be in other place. I am wondering >>> if the attached patch could help? It seems in netpoll tx path, we miss the >>> chance of calling ->ndo_select_queue(). >>> >>> Please give it a try. >> >> This fixes the NULL deref as well. I applied your patch over vanilla >> 3.6-rc5 (so without eric's patch) and I can load netconsole without it >> crashing directly. >> >> I will try to put a bit of load on the machine and see how it behaves, >> if it solves the hung cpu tasks as well. > > So far so good, the machine is still alive and well after 3 days with > netconsole enabled. > Great! Thanks a lot for testing, Sylvain! I will post the patch tomorrow, as I need some sleep now. :)