]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Note a minor race condition that I noticed while reviewing Jeff's changes
authorRussell Bryant <russell@russellbryant.com>
Fri, 28 Mar 2008 22:45:43 +0000 (22:45 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 28 Mar 2008 22:45:43 +0000 (22:45 +0000)
to this code.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111908 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/dnsmgr.c

index a2583285015e6254e677d873b7e19bf7121a27bf..ac13a8ab3cb758a488817d333ac7a8a383843b7f 100644 (file)
  * \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"