From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763733AbXGTJqO (ORCPT ); Fri, 20 Jul 2007 05:46:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755948AbXGTJqE (ORCPT ); Fri, 20 Jul 2007 05:46:04 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:42840 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755315AbXGTJqC (ORCPT ); Fri, 20 Jul 2007 05:46:02 -0400 Date: Fri, 20 Jul 2007 11:45:47 +0200 From: Ingo Molnar To: Olaf Kirch Cc: "Kok, Auke" , Jarek Poplawski , Linus Torvalds , linux-kernel@vger.kernel.org, davem@davemloft.net Subject: Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll Message-ID: <20070720094547.GA664@elte.hu> References: <20070716091236.GA10718@elte.hu> <200707192135.43652.olaf.kirch@oracle.com> <20070719195650.GA2136@elte.hu> <200707192202.51580.olaf.kirch@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200707192202.51580.olaf.kirch@oracle.com> User-Agent: Mutt/1.5.14 (2007-02-12) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.0.3 -1.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * Olaf Kirch wrote: > On Thursday 19 July 2007 21:56, Ingo Molnar wrote: > > nope - with this patch applied the box still has no network, symptoms > > are similar. (should i apply the WARN_ON() patch too?) > > Yes, that would be nice. If that doesn't help, you can also throw in > the one below. > - np->dev = ndev; > if (!ndev->npinfo) { > npinfo = kmalloc(sizeof(*npinfo), GFP_KERNEL); > if (!npinfo) { > @@ -722,6 +721,8 @@ int netpoll_setup(struct netpoll *np) > } > } > > + np->dev = ndev; no change in behavior from this patch. If i add the WARN_ON() it triggers once and it makes the network work as well (probably due to the side-effect of the packets generated by the WARN_ON() printks). Ingo