Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932411AbXLPKql (ORCPT ); Sun, 16 Dec 2007 05:46:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759999AbXLPKqb (ORCPT ); Sun, 16 Dec 2007 05:46:31 -0500 Received: from xdsl-664.zgora.dialog.net.pl ([81.168.226.152]:1484 "EHLO tuxland.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757456AbXLPKqa (ORCPT ); Sun, 16 Dec 2007 05:46:30 -0500 From: Mariusz Kozlowski To: Herbert Xu Subject: Re: [PACKET]: Fix /proc/net/packet crash due to bogus private pointer Date: Sun, 16 Dec 2007 11:48:27 +0100 User-Agent: KMail/1.9.7 Cc: akpm@linux-foundation.org, jgarzik@pobox.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, den@openvz.org, xemul@openvz.org References: <200712160118.58611.m.kozlowski@tuxland.pl> <20071216034119.GA1491@gondor.apana.org.au> In-Reply-To: <20071216034119.GA1491@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712161148.28425.m.kozlowski@tuxland.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 22 Hello, > Surprise surprise. The namespace seq patch missed two spots in > AF_PACKET. > > [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. True :) It fixes both my x86 and sprac64. Thanks. Mariusz -- 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/