2001-10-03 15:36:34

by Till Immanuel Patzschke

[permalink] [raw]
Subject: Re: Which is currently the most stable 2.4 kernel? (PPP)

Hi,

2.4.10 + the ppp patch works fine on UP - if you need the SMP you can hack/patch
socket.c to "make" PPP SMP safe (the patch below works perfectly well for me on
a 2 CPU P-III system for 6 days now -- no lockups, no crashes - and I'm loading
the system constantly w/ up to 4000 PPPoX sessions, starting stopping etc... -
NO PROBLEM.)

Please keep in mind - the folling is a HACK!

Cheers,

Immanuel

--- net/socket.c~ Tue Aug 28 19:56:06 2001
+++ net/socket.c Fri Sep 28 18:22:53 2001
@@ -682,10 +682,10 @@
struct socket *sock;
int err;

- unlock_kernel();
+ //unlock_kernel();
sock = socki_lookup(inode);
err = sock->ops->ioctl(sock, cmd, arg);
- lock_kernel();
+ //lock_kernel();

return err;
}