commit | e4aebe9d4c98463d485ef224d8f9a32d25c36830 | [log] [tgz] |
---|---|---|
author | Utkarsh Saxena <usaxena@codeaurora.org> | Mon Aug 22 23:10:42 2016 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Sep 05 22:23:30 2016 -0700 |
tree | 1c1736d91cf2908e742d48852466b2f99d3e88bd | |
parent | 7b7d16a11a6777b0ade69b6dc8fb33915ec03d67 [diff] |
ipacm: Fix race condition between nat delete and update timestamp NAT delete functionality and Update timestamp can run in two separate threads in parallel. Add pthread mutex lock around this two functions to avoid race condition while accessing the NAT table memory. Change-Id: I6d40ae6dbe3aa9ed840c2daae8555701baa91ef2