netdev
[Top] [All Lists]

Re: Fw: [Bugme-new] [Bug 4381] New: When i try to start a pppoe conn., c

To: Andrew Morton <akpm@xxxxxxxx>
Subject: Re: Fw: [Bugme-new] [Bug 4381] New: When i try to start a pppoe conn., crash at net/core/skbuff.c:91
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Wed, 23 Mar 2005 03:20:22 +0100
Cc: netdev@xxxxxxxxxxx, o.cornu@xxxxxxxxx, paulus@xxxxxxxxx
In-reply-to: <20050321201150.39ba3467.akpm@osdl.org>
References: <20050321201150.39ba3467.akpm@osdl.org>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050106 Debian/1.7.5-1
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@xxxxxxxx
         Submitter: o.cornu@xxxxxxxxx

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@xxxxxxxxx>

===== 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;
<Prev in Thread] Current Thread [Next in Thread>