<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8256">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">config: Fix locking for extconfig reload.<br><br>Expand locking to include full reload process for extconfig to ensure<br>nothing can read the config mappings between clearing and reloading.<br><br>Change-Id: I378316bad04f1b599ea82d0fef62b8978a644b92<br>---<br>M main/config.c<br>1 file changed, 1 insertion(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/config.c b/main/config.c<br>index d022b6a..3b56c03 100644<br>--- a/main/config.c<br>+++ b/main/config.c<br>@@ -2841,8 +2841,6 @@<br> {<br>  struct ast_config_map *map;<br> <br>-       SCOPED_MUTEX(lock, &config_lock);<br>-<br>      while (config_maps) {<br>                 map = config_maps;<br>            config_maps = config_maps->next;<br>@@ -2896,6 +2894,7 @@<br>    char *driver, *table, *database, *textpri, *stringp, *tmp;<br>    struct ast_flags flags = { CONFIG_FLAG_NOREALTIME };<br>  int pri;<br>+     SCOPED_MUTEX(lock, &config_lock);<br> <br>      clear_config_maps();<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8256">change 8256</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8256"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I378316bad04f1b599ea82d0fef62b8978a644b92 </div>
<div style="display:none"> Gerrit-Change-Number: 8256 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>