From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] cxgb3: fix crash due to manipulating queues before registration Date: Thu, 28 Oct 2010 10:28:30 -0700 (PDT) Message-ID: <20101028.102830.115930449.davem@davemloft.net> References: <1288236563.2658.59.camel@edumazet-laptop> <1288242390-28574-1-git-send-email-nacc@us.ibm.com> <4CC919B1.1040602@chelsio.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: nacc@us.ibm.com, eric.dumazet@gmail.com, sonnyrao@us.ibm.com, dm@chelsio.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: divy@chelsio.com Return-path: In-Reply-To: <4CC919B1.1040602@chelsio.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Divy Le Ray Date: Wed, 27 Oct 2010 23:35:29 -0700 > On 10/27/2010 10:06 PM, Nishanth Aravamudan wrote: >> Hi Eric, >> >> Something like the following?: >> >> Thanks, >> Nish >> >> >> Along the same lines as "cxgb4: fix crash due to manipulating queues >> before registration" (8f6d9f40476895571df039b6f1f5230ec7faebad), >> before >> commit "net: allocate tx queues in register_netdevice" >> netif_tx_stop_all_queues and related functions could be used between >> device allocation and registration but now only after registration. >> cxgb4 has such a call before registration and crashes now. Move it >> after register_netdev. >> >> Signed-off-by: Nishanth Aravamudan > > Acked-by: Divy Le Ray Applied.