cvs commit: src/sys/net/ppp

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Oct 15 20:59:08 PDT 2004


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 at xxxxxxxxx>,
  		Sarunas Vancevicius <vsarunas at 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





More information about the Commits mailing list