Re: Linux-2.1.116.. PPP fix, bridge fix.

Alexandr D. Kanevskiy (kad@mfua.lugansk.ua)
Wed, 19 Aug 1998 12:08:39 +0300 (EEST)


On Tue, 18 Aug 1998, Linus Torvalds wrote:

> I just released Linux-2.1.116. I've tested it fairly extensively on my SMP
> box, both with little memory and much, and I cannot make it lock up any
> more.

--- linux/drivers/net/ppp.c.org Sun Aug 2 16:52:18 1998
+++ linux/drivers/net/ppp.c Sun Aug 2 18:28:06 1998
@@ -1977,7 +1977,7 @@
*/
skb->dev = ppp2dev(ppp); /* We are the device */
skb->protocol = htons(proto);
- skb->mac.raw = skb->data;
+ skb->mac.raw = skb->data+PPP_HDRLEN;
skb_pull(skb, PPP_HDRLEN); /* pull off ppp header */
ppp->last_recv = jiffies;
netif_rx (skb);
--- linux/net/core/dev.c.org Wed Aug 19 12:04:36 1998
+++ linux/net/core/dev.c Wed Aug 19 12:04:49 1998
@@ -751,7 +751,7 @@

if(br_receive_frame(skb))
return;
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
}
return;
}


With best regards,
Alexandr.
---------------------------------------------------------
InterNIC: AK2644 Email: kad@alchevsk.lugansk.ua
Groups: // MFUA // UCL // kad@dgtu.donetsk.ua
---------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html