Date sent: Mon, 23 Nov 1998 18:23:41 +0000
From: Nick Phillips <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Copies to: Linux Lists <[EMAIL PROTECTED]>,
Valentin Abramov <[EMAIL PROTECTED]>
Subject: Re: URL about PPP 2.3.5 minor typo
> 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])
Hi!
I put your comment to my Linux page, also your patch and patched ppp.c
For me is unclear yet, from which version kernels moved to two
arguments in dev_kfree_skb(). I use kernel 2.0.34, checked now
sources in kernel three and there are two arguments used. I don't
know situation with 2.0.33 kernel, I tried then pppd 2.2.0f.
Valentin Abramov
E-Mail: [EMAIL PROTECTED]
WEB: http://www.tartu.customs.ee/valentin.shtml
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]