DragonFly BSD
DragonFly commits List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/net/ppp


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Oct 2004 20:58:53 -0700 (PDT)

dillon      2004/10/15 20:58:53 PDT

DragonFly src repository

  Modified files:
    sys/net/ppp          if_ppp.c 
  Log:
  Fix a bug where sc_ctlp() is improperly called when the packet is passed up
  the protocol stack.  sc_ctlp() must be called exactly once for each packet
  queued to the tty and ONLY when the packet is queued to the tty.  Otherwise
  the tty's t_canq will start to fill up and the tty code will incorrectly
  believe that there are packets pending when there might not be.
  
  The characteristic of this bug was that pppd would stay in a 'R'un state
  polling the tty for non-existant packets.
  
  Reported-by: =?ISO-8859-1?Q?Cristi=E1n_H=2E_Garc=EDa_Whiting?= <cgw@xxxxxxxxx>,
  		Sarunas Vancevicius <vsarunas@xxxxxxxxxx>
  
  Revision  Changes    Path
  1.21      +10 -5     src/sys/net/ppp/if_ppp.c


http://www.dragonflybsd.org/cvsweb/src/sys/net/ppp/if_ppp.c.diff?r1=1.20&r2=1.21&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]