kernel-netlink: Retry netlink query while kernel returns EBUSY
authorMartin Willi <martin@revosec.ch>
Mon, 14 Jul 2014 14:50:07 +0000 (16:50 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 21 Nov 2014 09:55:45 +0000 (10:55 +0100)
commit84f6853c42e4d9658c17f2a76e8586f1f7f8929b
tree88b6b562c3d149138961bae4548853dbb934dbc1
parent3c7193f114e9dbb4f725aaf9e050fb132d9f2600
kernel-netlink: Retry netlink query while kernel returns EBUSY

If the kernel can't execute a Netlink query because a different query is already
active, it returns EBUSY. As this can happen now as we support parallel queries,
retry on this error condition.
src/libhydra/plugins/kernel_netlink/kernel_netlink_shared.c