2
From lma@varesearch.com Wed Jul 23 20:40:33 1997
3
Date: Wed, 23 Jul 1997 14:56:14 -0700
4
From: "Larry M. Augustin" <lma@varesearch.com>
5
To: clameter@miriam.fuller.edu
6
Cc: linux-kernel@vger.rutgers.edu, davem@jenolan.rutgers.edu,
7
longyear@netcom.com, callahan@maths.ox.ac.uk
8
Subject: Re: ppp 2.3.1 patch for Linux 2.1.4x+
11
This reminds me, I had to modify ppp.c from ppp-2.3.1 to make it work
12
with kernel 2.0.31-pre2. Here is the patch to the ppp.c distributed
13
with 2.3.1. I'm not sure if any of this should be in 2.0.31 or not.
18
--- ppp.c Sun Jul 13 20:50:50 1997
19
+++ /usr/src/linux/drivers/net/ppp.c Mon Jul 21 10:59:54 1997
21
dev->rebuild_header = ppp_dev_rebuild;
24
- dev->hard_header_len = PPP_HARD_HDR_LEN;
25
+ dev->hard_header_len = PPP_HDRLEN;
30
struct ppp *ppp = tty2ppp (tty);
36
* Verify the pointers.
39
* Retrieve the user's buffer
41
- if (copy_from_user (new_data, data, count)) {
42
+ COPY_FROM_USER (error, new_data, data, count);