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

cvs commit: src/sys/net/ppp if_ppp.c src/sys/netgraph/netgraph ng_base.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Jun 2006 11:04:16 -0700 (PDT)

dillon      2006/06/06 11:04:16 PDT

DragonFly src repository

  Modified files:
    sys/net/ppp          if_ppp.c 
    sys/netgraph/netgraph ng_base.c 
  Some netisr's are just used to wakeup a driver via schednetisr().  The
  netmsg's sent to these ISR's must be replied whereas the netmsg's sent
  to packet-handling ISRs must not be replied because the netmsg is embedded
  in the mbuf).
  In the case of notifications via schednetisr(), we reply the message before
  we run the queue in order to interlock the wakeup message with the queue.
  Otherwise we could end up with a race that leaves packets in the queue
  without a wakeup to process them.
  Reported-by: Stefan Krueger <skrueger@xxxxxxxxxxxxxxxx>
  Investigated-by: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
  Revision  Changes    Path
  1.31      +8 -2      src/sys/net/ppp/if_ppp.c
  1.21      +8 -3      src/sys/netgraph/netgraph/ng_base.c


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