From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: Fw: [Bugme-new] [Bug 4381] New: When i try to start a pppoe conn., crash at net/core/skbuff.c:91 Date: Wed, 23 Mar 2005 03:55:09 +0100 Message-ID: <4240DA8D.1050906@trash.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: akpm@osdl.org, netdev@oss.sgi.com, o.cornu@gmail.com, paulus@samba.org To: Herbert Xu In-Reply-To: Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org Herbert Xu wrote: > Patrick McHardy wrote: > >>===== drivers/net/ppp_async.c 1.26 vs edited ===== >>--- 1.26/drivers/net/ppp_async.c 2005-01-21 06:02:12 +01:00 >>+++ edited/drivers/net/ppp_async.c 2005-03-23 03:15:31 +01:00 >>@@ -183,6 +183,7 @@ >> ap->chan.private = ap; >> ap->chan.ops = &async_ops; >> ap->chan.mtu = PPP_MRU; >>+ ap->chan.hdrlen = 2; >> err = ppp_register_channel(&ap->chan); > > > I'm not sure whether this could cause the original crash that we saw. > If ap->chan.hdrlen is not set then it should be zero. It being zero > should not cause skb_over_panic to trigger in ppp_write, should it? You're right, I missed the memset(). Regards Patrick