commit | 913fa15fb1d11f50aeb7a9a1f68de5af0eac0419 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Sun Apr 19 23:16:52 2020 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sun Apr 19 23:16:52 2020 +0100 |
tree | 5a211a1ff2020c0349fe176d217e5f8d53d9bc2e | |
parent | 00fe2f49e00404757bd71ca596f7c7d7c9f0b4d2 [diff] |
Convert failure of setsockopt(..., SOL_NETLINK, NETLINK_NO_ENOBUFS, ...) into warning. We call this, which avoids POLLERR returns from netlink on a loaded system, if the kernel is new enough to support it. Sadly, qemu-user doesn't support the socket option, so if it fails despite the kernel being new enough to support it, we just emit a warning, rather than failing hard.