Make sure we don't loose our topology lock in a call_me() handler.

Sponsored by:	DARPA & NAI Labs.
This commit is contained in:
Poul-Henning Kamp 2002-09-30 08:27:29 +00:00
parent e71a9915fe
commit cd4f50fbb8

View File

@ -153,6 +153,7 @@ g_do_event(struct g_event *ep)
switch (ep->event) {
case EV_CALL_ME:
ep->func(ep->arg);
g_topology_assert();
break;
case EV_NEW_CLASS:
mp2 = ep->class;