From: Wm E. Davidsen Jr (davidsen@sixhub.UUCP)
Date: 08/08/93


From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr)
Subject: Re: If your PC locks up and you're running NET2 code....try this!
Date: 9 Aug 1993 01:57:57 GMT

In article <CBC9z0.DBK@mailer.cc.fsu.edu> marchini@ds18.scri.fsu.edu (Juan Marchini) writes:
| if anyone is having problems with their linux box freezing/locking up,
| try the following patch. my friend and i tried it on our
| joint-venture linux pc on the net, and it did exactly what we
| wanted....and that was WORK!!!

| /* Do any IP forwarding required. */
| if ((brd = chk_addr(iph->daddr)) == 0) {
| /* ip_forward(skb, dev); *** BUG FIX ***/
| skb->sk = NULL;
| kfree_skb(skb, FREE_WRITE);

  Am I missing something or is the fix to eliminate the packet
forwarding capability? I agree that having a system which lacks
functionality but doesn't hang is better than one which hangs, but
unless the forwarding is done elsewhere, this isn't really a fix.

  The idea of connecting two LANs of Linux machines via SLIP is that I
don't have a modem on each machine which calls each other machine...

  However, if this points some sharp individual at the problem so we can
have a stable system with IP forwarding, then I'm all for it. I can put
up a Linux system and modem cheaper than buying a nethopper or netblazer.

-- 
Bill Davidsen, davidsen%sixhub.uucp@uunet.uu.net
    TMR Associates, +1 518-370-5654
    C programming, training, data gathering, porting to open systems,
    heterogeneous environments, computer controlled housing, custom software