From patchwork Sat Jun 5 09:17:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 54745 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 13D21B7D2F for ; Sat, 5 Jun 2010 19:17:33 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932636Ab0FEJR0 (ORCPT ); Sat, 5 Jun 2010 05:17:26 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]:65468 "EHLO mail-ww0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932626Ab0FEJRY (ORCPT ); Sat, 5 Jun 2010 05:17:24 -0400 Received: by wwc33 with SMTP id 33so84139wwc.19 for ; Sat, 05 Jun 2010 02:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=wUtytspKJDNdERwr3gvV8pVa3oV26AbTPmzYC1076wU=; b=eCfZlEjAzfSBMSN5LWzyeSVzTTNVxqOnbH60MZ0EQ03hxe7/qN3X8CPpadOuQCNthf uqLNfeTt0LcXaZ+5FxQ0IzO65qWBD0gKYY9h02LBXPng1uzd2Q5jdIbYz6X664z1sart 7aUpJutz/yqJ/fiVQWqoGMMgZR0SJN01IFJXI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=t2KK59VdUFJFE5SHBdfA0AJrXc5xHpt23JP6jI1L/Pqk1Z+q79tSaFUIP+2imMAto2 juf9kTP2jSOVitN3/Xr/lj89x9ZxIt0MDaCGU3h6mDyzytnay1cStKLH0K5dy/p/648Y 7B4M0wwPySzUbbtdtAtEIWwUY/Al5FlxERoIE= Received: by 10.216.184.6 with SMTP id r6mr439808wem.87.1275729429616; Sat, 05 Jun 2010 02:17:09 -0700 (PDT) Received: from [127.0.0.1] ([85.17.35.125]) by mx.google.com with ESMTPS id g66sm1042944wej.13.2010.06.05.02.17.07 (version=SSLv3 cipher=RC4-MD5); Sat, 05 Jun 2010 02:17:09 -0700 (PDT) Subject: Re: [Bugme-new] [Bug 16120] New: Oops: 0000 [#1] SMP, unable to handle kernel NULL pointer dereference at (null) From: Eric Dumazet To: Andrew Morton , David Miller Cc: netdev@vger.kernel.org, bugzilla-daemon@bugzilla.kernel.org, bugme-daemon@bugzilla.kernel.org, alex.vizor@gmail.com, Patrick McHardy In-Reply-To: <20100604161737.25c7940a.akpm@linux-foundation.org> References: <20100604161737.25c7940a.akpm@linux-foundation.org> Date: Sat, 05 Jun 2010 11:17:06 +0200 Message-ID: <1275729426.5238.6.camel@edumazet-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Le vendredi 04 juin 2010 à 16:17 -0700, Andrew Morton a écrit : > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Fri, 4 Jun 2010 09:25:58 GMT > bugzilla-daemon@bugzilla.kernel.org wrote: > > > https://bugzilla.kernel.org/show_bug.cgi?id=16120 > > > > Summary: Oops: 0000 [#1] SMP, unable to handle kernel NULL > > pointer dereference at (null) > > Product: Platform Specific/Hardware > > Version: 2.5 > > Kernel Version: 2.6.35-rc1 > > Platform: All > > OS/Version: Linux > > Tree: Mainline > > Status: NEW > > Severity: high > > Priority: P1 > > Component: x86-64 > > AssignedTo: platform_x86_64@kernel-bugs.osdl.org > > ReportedBy: alex.vizor@gmail.com > > Regression: Yes > > > > > > Created an attachment (id=26647) > > --> (https://bugzilla.kernel.org/attachment.cgi?id=26647) id) > > 2.6.35-rc1 kernel log > > > > It happens randomly, almost a week I used 2.6.35-rc1 and don't have any > > problems. But since last day it happened twice. > > > > I attached kernel log, please inform me if I can help in investigation. > > > > ip6mr_sk_done() oopsed. Only thing I found a first glance is a typo but this should not be the root of the problem. [PATCH] ip6mr: fix a typo in ip6mr_for_each_table() Signed-off-by: Eric Dumazet --- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 073071f..89c0b07 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c @@ -120,7 +120,7 @@ static void mroute_clean_tables(struct mr6_table *mrt); static void ipmr_expire_process(unsigned long arg); #ifdef CONFIG_IPV6_MROUTE_MULTIPLE_TABLES -#define ip6mr_for_each_table(mrt, met) \ +#define ip6mr_for_each_table(mrt, net) \ list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list) static struct mr6_table *ip6mr_get_table(struct net *net, u32 id)