]> 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 15:35:05 +0000 (16:35 +0100)
commitfa2a330f72d29a5ce630327ca288ed520aa2d697
tree3d260ecd9ddc215c09c948e6992b6834c16ebdcf
parentb87f69cdaad54a73bf5029b5511d33db06014602
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>
(cherry picked from commit b2ca179ce2678115c3a61fd3f843c64c1d059fbc)
src/openvpn/dco_linux.c