kernel-netlink: Add options to enable parallel Netlink queries explicitly
authorMartin Willi <martin@revosec.ch>
Wed, 16 Jul 2014 10:38:30 +0000 (12:38 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 21 Nov 2014 09:55:45 +0000 (10:55 +0100)
commit6c58fabe29dd88384c8475293aec03fd946f969e
treebd1e379e9f023dc384050c185f647f30a091abf8
parent9b43dddff4dee37a1b527482403d2e9d5ed6ece0
kernel-netlink: Add options to enable parallel Netlink queries explicitly

As under vanilla Linux the kernel can't handle parallel dump queries and returns
EBUSY, it makes not much sense to use them. Disable parallel queries by default
to basically restore original behavior, improving performance.
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_shared.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_shared.h
src/libhydra/plugins/kernel_netlink/suites/test_socket.c