Linux Lists wrote:
>
> Hello,
>
> Quick question: does someone have a URL pointing to the description of the
> PPP 2.3.5 typo problem (instead of LINUX_VERSION_CODE >= , should be
> LINUX_VERSION_CODE <= , or something on this line ...) ??
It's *not* a typo; it's just that the 2.0.35 kernel moved to the same
form of call to dev_kfree_skb that the recent 2.1.xx kernels use, and
the logic in the ppp.c file can't deal with this (2.0.35 didn't exist
when it was written).
Changing the > to < or whatever it was will enable ppp to compile with
2.0.35, but it will break it with other (2.1.xx, if I remember right)
kernels. So if you use this "fix" and later upgrade to a 2.1 series
kernel, you'll have to "un-fix" it again.
I've put a patch file and a version of ppp.c that will work with any
(well, maybe not the very recent ones - I haven't tried them) kernel on
http://www.hizz.demon.co.uk. There aren't any other files there at the
moment, so it should be obvious what's what. Put the patch file in the
ppp-2.3.5 directory and patch from it, or just stick the ppp.c in the
right place under the ppp source tree (can't remember where - is it
ppp-2.3.5/linux/ppp.c ??), do the "make kernel" business again, build
the kernel, build ppp and it should work.
--
Nick Phillips ([EMAIL PROTECTED])
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]