All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Andrew Morton <akpm@osdl.org>
Cc: netdev@oss.sgi.com, o.cornu@gmail.com, paulus@samba.org
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:20:22 +0100	[thread overview]
Message-ID: <4240D266.4080403@trash.net> (raw)
In-Reply-To: <20050321201150.39ba3467.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

Andrew Morton wrote:
> Repeatable pppoe crash :(
> 
> 
> Begin forwarded message:
> 
> http://bugme.osdl.org/show_bug.cgi?id=4381
> 
>            Summary: When i try to start a pppoe conn., crash at
>                     net/core/skbuff.c:91
>     Kernel Version: 2.6.11 (gentoo-dev-sources)
>             Status: NEW
>           Severity: blocking
>              Owner: shemminger@osdl.org
>          Submitter: o.cornu@gmail.com
> 
> Mar 21 21:28:05 Pai-mei <6>skput:over: f89b2335:16 put:16
> dev:<NULL>

Looks like hdrlen is uninitialized in ppp_async. This patch
initializes it to 2 like in ppp_synctty, but I'm not sure
whether this value is correct here. Paul?

Signed-off-by: Patrick McHardy <kaber@trash.net>


[-- Attachment #2: x --]
[-- Type: text/plain, Size: 366 bytes --]

===== 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);
 	if (err)
 		goto out_free;

  reply	other threads:[~2005-03-23  2:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-22  4:11 Fw: [Bugme-new] [Bug 4381] New: When i try to start a pppoe conn., crash at net/core/skbuff.c:91 Andrew Morton
2005-03-23  2:20 ` Patrick McHardy [this message]
2005-03-23  2:49   ` Herbert Xu
2005-03-23  2:55     ` Patrick McHardy
2005-03-23  3:06   ` Paul Mackerras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4240D266.4080403@trash.net \
    --to=kaber@trash.net \
    --cc=akpm@osdl.org \
    --cc=netdev@oss.sgi.com \
    --cc=o.cornu@gmail.com \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.