mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 14:02:52 +07:00
This patch adds support for calling recv() repeatedly to get the netlink response from the kernel. As a result, the recv() buffer can be reduced down to 4k again. Both the regular flow and the resync flow now follow the exact same code path, except for the ENOBUFS handling. If we get ENOBUFS in resync, we are screwed anyway. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>