]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Do not set nl socket buffer size
authorArne Schwabe <arne@rfc2549.org>
Sat, 24 Dec 2022 19:42:50 +0000 (20:42 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 25 Dec 2022 09:47:57 +0000 (10:47 +0100)
commitb2ca179ce2678115c3a61fd3f843c64c1d059fbc
tree3608002f4528d40d630f1c21dde1c30995ce70a7
parent1413b38d0eacafb6c03c701236fe546f44f39a8d
Do not set nl socket buffer size

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>
src/openvpn/dco_linux.c