From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262897AbUEWOda (ORCPT ); Sun, 23 May 2004 10:33:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262902AbUEWOda (ORCPT ); Sun, 23 May 2004 10:33:30 -0400 Received: from websrv.werbeagentur-aufwind.de ([213.239.197.241]:57751 "EHLO websrv.werbeagentur-aufwind.de") by vger.kernel.org with ESMTP id S262897AbUEWOd3 (ORCPT ); Sun, 23 May 2004 10:33:29 -0400 Subject: Re: Fw: IPsec/crypto kernel panic in 2.6.[456] From: Christophe Saout To: akpm@osdl.org, linux-kernel@vger.kernel.org Cc: James Morris , "David S. Miller" In-Reply-To: <20040520213743.GA9702@leto.cs.pocnet.net> References: <20040520003739.624cc2d2.akpm@osdl.org> <20040520081049.4bfa7e3f.davem@redhat.com> <20040520213743.GA9702@leto.cs.pocnet.net> Content-Type: text/plain; charset=UTF-8 Date: Sun, 23 May 2004 16:33:22 +0200 Message-Id: <1085322803.32532.1.camel@leto.cs.pocnet.net> Mime-Version: 1.0 X-Mailer: Evolution 1.5.8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello, Small update: Tobias Ringström told me that the Oops goes away when he applies the bugfix I sent Andrew. We're still trying to find out what exactly was happening. > The two problems I found: > > After calling scatterwalk_copychunks walk_in might point to the next > page which will break scatterwalk_samebuf (in this case src_p should > point to tmp_src anyway and scatterwalk_samembuf returns 0). > > scatterwalk_samebuf should also check for equal offsets inside the > page (just bad for performance in some cases).