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
2 files changed
tree: 1c1736d91cf2908e742d48852466b2f99d3e88bd
  1. ipacm/
  2. ipanat/
  3. configure.ac
  4. Makefile.am