]> git.ipfire.org Git - thirdparty/strongswan.git/commit
whitelist: use a read-copy when listing entries
authorMartin Willi <martin@revosec.ch>
Mon, 8 Jul 2013 09:44:52 +0000 (11:44 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 14:00:30 +0000 (16:00 +0200)
commit0a35ae781d49740c2b5df7057a439f8045e600c4
treeb044e7344237be8e359442713e53d4e32af1523b
parent0ccc5bb216752a1cd3617de052ad1e0b49b41fa9
whitelist: use a read-copy when listing entries

While this requires a little more overhead, we can free the lock should the
stream block, allowing other threads to add/remove entries.
src/libcharon/plugins/whitelist/whitelist_control.c