lkml.org 
[lkml]   [1998]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux-2.1.116.. PPP fix, bridge fix.
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

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2011 Jasper Spaans