]> 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 14:28:47 +0000 (14:28 +0000)
commitb656161b84dce0322ab00d7958267fa47cda6318
tree2a2aec00a1645a7c5184bb8d67f83e62efc99086
parent07f1d6b9958738fc3dabfabb62341e8ad79e90e3
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

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