home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10850 < prev    next >
Encoding:
Text File  |  1993-01-02  |  1.7 KB  |  53 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!apollo.hp.com!netnews
  3. From: sommerfeld@apollo.hp.com (Bill Sommerfeld)
  4. Subject: Re: [386bsd] SLIP is one way...
  5. Sender: usenet@apollo.hp.com (Usenet News)
  6. Message-ID: <SOMMERFELD.93Jan2193742@unknown.apollo.hp.com>
  7. In-Reply-To: pozar@kumr.lns.com's message of 2 Jan 93 17:33:47 GMT
  8. Date: Sun, 3 Jan 1993 00:34:22 GMT
  9. Lines: 39
  10. References: <1993Jan2.173347.10168@kumr.lns.com>
  11. Nntp-Posting-Host: snarfblatt.ch.apollo.hp.com
  12. Organization: Hewlett Packard
  13.  
  14. In article <1993Jan2.173347.10168@kumr.lns.com> pozar@kumr.lns.com (Tim Pozar) writes:
  15.  
  16.       With building any kernel the best I can get on slip sessions are
  17.    packets going out a slip link and not making it back in.  The machine on
  18.    the other end will echo pings back, but the 386BSD box is not getting them
  19.    back.
  20.  
  21. You probably installed the patch kit.. in particular, patch 19.
  22.  
  23. Part 2 of patch 19 appears to contain a bogus duplicate return:
  24.  
  25. ***************
  26. *** 623,629 ****
  27.         sc = (struct sl_softc *)tp->t_sc;
  28.         if (sc == NULL)
  29.                 return;
  30. !       if (!(tp->t_state&TS_CARR_ON))  /* XXX */
  31.                 return;
  32.  
  33.         ++sc->sc_bytesrcvd;
  34. --- 630,640 ----
  35.         sc = (struct sl_softc *)tp->t_sc;
  36.         if (sc == NULL)
  37.                 return;
  38. !       if (c > 255 || !(tp->t_state&TS_CARR_ON)) {       /* XXX 30 Aug 92*/
  39. !               sc->sc_flags |= SC_ERROR;
  40. !               return;
  41. !       }
  42. !
  43.                 return;        <-****!!!!****
  44.  
  45.         ++sc->sc_bytesrcvd;
  46.  
  47. .. which turns slinput into a noop.
  48.  
  49. I just deleted that return from my kernel, rebuilt it, rebooted it,
  50. and I'm now typing this message over a SLIP link..
  51.  
  52.                         - Bill
  53.