diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-11-03 18:35:51 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-11-03 18:35:51 -0500 |
commit | ae3d75e1e5e54fe91a835d4d82d965ab4e480970 (patch) | |
tree | f3a612f6d8ef32b1800627c25d6307bcf852e937 /litmus | |
parent | 3f2b59991583b7ffcebb1d7e6a2bbc66c717e6bb (diff) |
ftdev: don't get stuck in endless loop
This bug created unkillable tasks if the first event did not
match the event that was being disabled.
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/ftdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/litmus/ftdev.c b/litmus/ftdev.c index 20402c476f..c4ea5eafd9 100644 --- a/litmus/ftdev.c +++ b/litmus/ftdev.c | |||
@@ -90,6 +90,7 @@ static void deactivate(struct ftdev_event** chain, int id) | |||
90 | ft_disable_event(id); | 90 | ft_disable_event(id); |
91 | break; | 91 | break; |
92 | } | 92 | } |
93 | pos = pos->next; | ||
93 | } | 94 | } |
94 | } | 95 | } |
95 | 96 | ||