aboutsummaryrefslogtreecommitdiffstats
path: root/main/dnsmgr.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-28 22:45:43 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-28 22:45:43 +0000
commitbb6aa422ad02b4908c4eda336288911e1de6b4aa (patch)
tree137368ec7327f0465aa0de44d578e0de722b16f0 /main/dnsmgr.c
parente53c6f4673dafc99b056e348c0db9ad15e041a77 (diff)
Note a minor race condition that I noticed while reviewing Jeff's changes
to this code. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111908 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dnsmgr.c')
-rw-r--r--main/dnsmgr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/dnsmgr.c b/main/dnsmgr.c
index a25832850..ac13a8ab3 100644
--- a/main/dnsmgr.c
+++ b/main/dnsmgr.c
@@ -21,6 +21,11 @@
* \brief Background DNS update manager
*
* \author Kevin P. Fleming <kpfleming@digium.com>
+ *
+ * \bug There is a minor race condition. In the event that an IP address
+ * of a dnsmgr managed host changes, there is the potential for the consumer
+ * of that address to access the in_addr data at the same time that the dnsmgr
+ * thread is in the middle of updating it to the new address.
*/
#include "asterisk.h"