cvs commit: src/sys/net netisr.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Apr 5 11:53:23 PDT 2004
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
More information about the Commits
mailing list