Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933451AbYBOKBw (ORCPT ); Fri, 15 Feb 2008 05:01:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756763AbYBOKBn (ORCPT ); Fri, 15 Feb 2008 05:01:43 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:45249 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754593AbYBOKBm (ORCPT ); Fri, 15 Feb 2008 05:01:42 -0500 Date: Fri, 15 Feb 2008 02:02:12 -0800 (PST) Message-Id: <20080215.020212.202401321.davem@davemloft.net> To: k-keiichi@bx.jp.nec.com Cc: mpm@selenic.com, satyam.sharma@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, shemminger@linux-foundation.org Subject: Re: [PATCH] netconsole: avoid null pointer dereference at show_local_mac() From: David Miller In-Reply-To: <47B55F4C.5080703@bx.jp.nec.com> References: <47B55F4C.5080703@bx.jp.nec.com> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 795 Lines: 22 From: Keiichi KII Date: Fri, 15 Feb 2008 18:45:48 +0900 > This patch avoids a null pointer dereference when we read local_mac > for netconsole in configfs and shows default local mac address > value. > > A null pointer dereference occurs when we call show_local_mac() via > local_mac entry in configfs before we setup the content of netpoll > using netpoll_setup(). > > This patch is for 2.6.25-rc1. > Your comments are very welcome. > > Signed-off-by: Keiichi KII Patch applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/