diff options
author | Martin Willi <martin@revosec.ch> | 2014-07-16 11:59:59 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-11-21 10:55:45 +0100 |
commit | 9b43dddff4dee37a1b527482403d2e9d5ed6ece0 (patch) | |
tree | ebfa3890ff16cb55ff2f36d6b7f32c8f2ccd52a5 /src/libhydra/plugins/kernel_netlink/kernel_netlink_shared.h | |
parent | 4b41ea956cb9ee2bdabf969ffd0937e946fdd5e5 (diff) | |
download | strongswan-9b43dddff4dee37a1b527482403d2e9d5ed6ece0.tar.bz2 strongswan-9b43dddff4dee37a1b527482403d2e9d5ed6ece0.tar.xz |
kernel-netlink: Release lock while doing Netlink NEW/DELADDR operations
Besides that it can improve throughput, it avoids a deadlock situation. If
all threads are busy, watcher will invoke the FD notification for NEWADDR
events itself. If the lock is held, it gets locked up. As watcher is not
dispatching anymore, it can't signal Netlink socket send() completion, and
the send() operation does not return and keeps the lock.
Diffstat (limited to 'src/libhydra/plugins/kernel_netlink/kernel_netlink_shared.h')
0 files changed, 0 insertions, 0 deletions