projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c1c50f
)
Catch non-fatal race conditions
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 17 Aug 2009 06:53:47 +0000
(08:53 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 17 Aug 2009 06:53:47 +0000
(08:53 +0200)
src/main/event.c
patch
|
blob
|
history
diff --git
a/src/main/event.c
b/src/main/event.c
index
aab1856
..
9a42dbe
100644
(file)
--- a/
src/main/event.c
+++ b/
src/main/event.c
@@
-2722,10
+2722,21
@@
static void received_conflicting_request(REQUEST *request,
#endif
/*
+ * Catch race conditions. It may have switched
+ * from running to done while this code is being
+ * executed.
+ */
+ case REQUEST_REJECT_DELAY:
+ case REQUEST_CLEANUP_DELAY:
+ case REQUEST_DONE:
+ break;
+
+ /*
* It's in some other state, and therefore also
* in the event queue. At some point, the
* child will notice, and we can then delete it.
*/
+ case REQUEST_PROXIED:
default:
rad_assert(request->ev != NULL);
break;