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

cvs commit: src/sys/net netisr.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Apr 2004 11:53:03 -0700 (PDT)

dillon      2004/04/05 11:53:03 PDT

DragonFly src repository

  Modified files:
    sys/net              netisr.c 
  Log:
  Subsystems which install an so_upcall may themselves call socket functions
  from the handler thread, which can lead to deadlocks in lwkt_domsg().
  
  Have the netmsg service loop install its own mp_putport() function which
  checks for self-referential messages (curthread == port->mp_td) and executes
  them synchronously.
  
  Revision  Changes    Path
  1.10      +23 -2     src/sys/net/netisr.c


http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.c.diff?r1=1.9&r2=1.10&f=h



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