Re: Errors compiling kernel 2.0.34 patched with ppp 2.3.5 !!!

Ronny Bremer (rbremer@future-gate.com)
Fri, 05 Jun 1998 10:06:46 +0200


You should follow Alan's advice. All you need to patch in ppp.c is a single define.
--------------------
--- ppp.c.org Wed Mar 25 00:54:59 1998
+++ ppp.c Wed Jun 3 22:29:06 1998
@@ -3076,7 +3076,7 @@
/*
* Send a frame to the remote.
*/
-#if LINUX_VERSION_CODE < VERSION(2,1,86)
+#if LINUX_VERSION_CODE >= VERSION(2,1,0) && LINUX_VERSION_CODE < VERSION(2,1,86)
#define FREE_SKB(skb) dev_kfree_skb(skb)
#else
#define FREE_SKB(skb) dev_kfree_skb(skb, FREE_WRITE)
--------------------

That's it.

Regards,

Ronny

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu