From 81ee6cda2e60bbd3d97ab63da30657a54b09feda Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Mon, 17 Jan 2022 05:11:29 +0100 Subject: [PATCH] Netlink: Add option to specify netlink socket receive buffer size Add option 'netlink rx buffer' to specify netlink socket receive buffer size. Uses SO_RCVBUFFORCE, so it can override rmem_max limit. Thanks to Trisha Biswas and Michal for the original patches. --- doc/bird.sgml | 6 + sysdep/linux/krt-sys.h | 1 + sysdep/linux/netlink.Y | 4 +- sysdep/linux/netlink.c | 54 + sysdep/linux/netlink.c.orig | 2179 +++++++++++++++++++++++++++++++++++ 5 files changed, 2243 insertions(+), 1 deletion(-) create mode 100644 sysdep/linux/netlink.c.orig diff --git a/doc/bird.sgml b/doc/bird.sgml index 0112622e..f10b15e2 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -3248,6 +3248,12 @@ channels. allows to specify a limit on maximal number of nexthops in one route. By default, multipath merging is disabled. If enabled, default value of the limit is 16. + +