]> git.ozlabs.org Git - ppp.git/blob - freebsd-2.2.8/patch.if_ppp.c
Fixed bugs with regards to using other device names than "ppp"
[ppp.git] / freebsd-2.2.8 / patch.if_ppp.c
1 --- sys.stable/net/if_ppp.c     Fri Apr 16 16:14:37 1999
2 +++ /usr/src/synclink/bsd2/if_ppp.c     Tue Apr 13 09:54:07 1999
3 @@ -930,7 +930,6 @@
4      struct ppp_softc *sc;
5  {
6      int s = splimp();
7 -
8      sc->sc_flags &= ~SC_TBUSY;
9      schednetisr(NETISR_PPP);
10      splx(s);
11 @@ -1082,7 +1081,7 @@
12      for (i = 0; i < NPPP; ++i, ++sc) {
13         s = splimp();
14         if (!(sc->sc_flags & SC_TBUSY)
15 -           && (sc->sc_if.if_snd.ifq_head || sc->sc_fastq.ifq_head)) {
16 +           && (sc->sc_if.if_snd.ifq_head || sc->sc_fastq.ifq_head || sc->sc_outm)) {
17             sc->sc_flags |= SC_TBUSY;
18             splx(s);
19             (*sc->sc_start)(sc);