Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764258AbXLPWEu (ORCPT ); Sun, 16 Dec 2007 17:04:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760300AbXLPWEl (ORCPT ); Sun, 16 Dec 2007 17:04:41 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:42721 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1759823AbXLPWEk (ORCPT ); Sun, 16 Dec 2007 17:04:40 -0500 Date: Sun, 16 Dec 2007 14:04:25 -0800 (PST) Message-Id: <20071216.140425.19234188.davem@davemloft.net> To: herbert@gondor.apana.org.au Cc: m.kozlowski@tuxland.pl, akpm@linux-foundation.org, jgarzik@pobox.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, den@openvz.org, xemul@openvz.org Subject: Re: [PACKET]: Fix /proc/net/packet crash due to bogus private pointer From: David Miller In-Reply-To: <20071216034119.GA1491@gondor.apana.org.au> References: <200712160118.58611.m.kozlowski@tuxland.pl> <20071216034119.GA1491@gondor.apana.org.au> 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: 779 Lines: 20 From: Herbert Xu Date: Sun, 16 Dec 2007 11:41:20 +0800 > [PACKET]: Fix /proc/net/packet crash due to bogus private pointer > > The seq_open_net patch changed the meaning of seq->private. > Unfortunately it missed two spots in AF_PACKET, which still > used the old way of dereferencing seq->private, thus causing > weird and wonderful crashes when reading /proc/net/packet. > > This patch fixes them. > > Signed-off-by: Herbert Xu Applied to net-2.6.25, thanks Herbert. -- 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/