libnl increases the sizes we pass to 8192 anyway. Currently when we have
a lot of events queued we might run into a NLE_NOMEM message and that
terminates the server. So rather let the kernel decide the buffer sizes.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20221224194253.
3202231-7-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25789.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
msg(M_ERR, "Cannot create netlink socket");
}
- /* TODO: Why are we setting this buffer size? */
- nl_socket_set_buffer_size(dco->nl_sock, 8192, 8192);
-
int ret = genl_connect(dco->nl_sock);
if (ret)
{