]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netlink: make the maximum allowed netlink socket buffer runtime tunable.
authorAlexander V. Chernikov <melifaro@FreeBSD.org>
Mon, 27 Feb 2023 10:44:54 +0000 (10:44 +0000)
committerAlexander V. Chernikov <melifaro@FreeBSD.org>
Wed, 1 Mar 2023 16:53:36 +0000 (16:53 +0000)
commitaa330214cf1daacfdf706d12c01a34dc2f862693
tree2bcff225d6e644c77abad930937069db2269fdbf
parent3623575a8613ce4faf40e3f29e926272309e6498
netlink: make the maximum allowed netlink socket buffer runtime tunable.

Dumping large routng tables (>1M paths with multipath) require the socket
 buffer which is larger than the currently defined limit.
Allow the limit to be set in runtime, similar to kern.ipc.maxsockbuf.

Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
MFC after: 1 day
Approved by: re(cperciva)

(cherry picked from commit 28a5d88f7091d1fc72f4f1bd8562d3c8b15883f5)
(cherry picked from commit b656161b84dce0322ab00d7958267fa47cda6318)
share/man/man4/netlink.4
sys/kern/uipc_socket.c
sys/netlink/netlink_domain.c