From: Toralf =?iso-8859-1?q?F=F6rster?= Subject: Re: [0/7] [PPP]: Fix shared/cloned/non-linear skb bugs (was: malformed captured packets) Date: Mon, 3 Sep 2007 11:32:10 +0200 Message-ID: <200709031132.13371.toralf.foerster@gmx.de> References: <200708281811.34074.toralf.foerster@gmx.de> <46D69323.3070503@katalix.com> <20070831090625.GA28175@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2020426.LLbxUjiYmP"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Cc: James Chapman , "David S. Miller" , Michal Ostrowski , Paul Mackerras , netdev@vger.kernel.org To: Herbert Xu Return-path: Received: from mail.gmx.net ([213.165.64.20]:33975 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753251AbXICJcS (ORCPT ); Mon, 3 Sep 2007 05:32:18 -0400 In-Reply-To: <20070831090625.GA28175@gondor.apana.org.au> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org --nextPart2020426.LLbxUjiYmP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Freitag, 31. August 2007 schrieb Herbert Xu: > On Thu, Aug 30, 2007 at 09:51:31AM +0000, James Chapman wrote: > > > > The captured PPPoE stream seems to show incorrect data lengths in the > > PPPoE header for some captured PPPoE packets. The kernel's PPPoE > > datapath uses this length to extract the PPP frame and send it through > > to the ppp interface. Since your ppp stream is fine, the actual PPPoE > > header contents must be correct when it is parsed by the kernel PPPoE > > code. It seems more likely that this is a wireshark bug to me. >=20 > If he were using the kernel pppoe driver, then this is because > PPP filtering is writing over a cloned skb without copying it. >=20 > In fact, there seems to be quite a few bugs of this kind in > the various ppp*.c files. >=20 > Please try the following patches to see if they make a > difference. >=20 > I've audited ppp_generic.c and pppoe.c. I'll do pppol2tp > tomorrow. >=20 > Cheers, I've applied the patch series onto a Gentoo-2.6.22-r5 kernel and use this k= ernel now since some days w/o any problems both at work and at home. Many thanks. =2D-=20 MfG/Sincerely Toralf F=F6rster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3 --nextPart2020426.LLbxUjiYmP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBG29SbhyrlCH22naMRAjMpAKC4UM2K7UzTpeqLH7UCaHVgwV226QCfVs56 KYl4UPyrwgOE9416/iVp6tA= =ml24 -----END PGP SIGNATURE----- --nextPart2020426.LLbxUjiYmP--