Skip to contentSkip to conversation

Which is currently the most stable 2.4 kernel? (PPP)

DISCUSSION Till Immanuel Patzschke 1 participant 1 message Oct 3, 2001

lore
Share & tools
lore
#0 lore raw

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

socket.c Fri Sep 28 18:22:53 2001 renamed from socket.c~ Tue Aug 28 19:56:06 2001 +2 -2
@@ -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;
 }