lkml.org 
[lkml]   [1996]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: PPP 2.2.0e
Date

The patches which you are referring to are in two areas:

1. Kernel patches

a) A patch to the module.h header file so that if the particular file is
not compiled for a module, but does include the module.h file so that it
may export symbols, the symbol used to track module use counts is not
defined. This was hidden previously because the module.h file was not
included UNLESS the code was being compiled for a module.

The ppp.c driver needs to export symbols for use by the BSD (and other)
compressors. It needs to export the symbols whether or not the file is
being compiled into the kernel.

b) A patch to the slhc code to correct a bug in the slhc code. It would
trash the kernel's heap area unless the number of slots for transmission
equaled the number of slots for reception. The problem was that the
transmission slots was used to initialize the tables for both
transmission and reception. CSLIP does not have this problem as it is
always the same for both. PPP may or may not have the problem. However,
if it does occur, the results are quite undesirable.

c) A patch to the Makefile to include the added modules needed for PPP.
Without this, the BSD compressor would not be compiled.


2. Include files

The installation program will add some include files into the
/usr/include tree so that the code is compatible with the other platforms
of the pppd process. At the same time, I deleted the ppp.h header file
which was used in the 2.1.2 version.


The kernel patches are in the current 1.3 series kernels. They have been
for some time, ever since 1.3.48.

The include file additions are in the current development versions of the
GCC include files.

The only reason that you would have seen the code being 'patched' is
because you are not using the current development kernels. From the
current development kernels will spring the next 'predictable' (to use
Linus' term) kernel release.

------- Begin included message ----------

----------
From: a.kruczkowski[SMTP:a.kruczkowski@ic.ac.uk]
Sent: Tuesday, April 09, 1996 12:00 AM
To: linux-kernel
Subject: PPP 2.2.0e

Secondly, is there any particular reason why patches need to be
made to kernel source to get PPP setup? If not, shouldn't the code
be incorporated as part of the kernel before 2.0, so that users
can select PPP, compile, get the pppd package and get started
straight away?


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.027 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site