]> 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>
Mon, 27 Feb 2023 10:48:31 +0000 (10:48 +0000)
commit28a5d88f7091d1fc72f4f1bd8562d3c8b15883f5
tree3ef9fa733388e5f06c075acc9ba83598a5e710f6
parenta4b92fefd2507140be6b4298bc3c2ba59d7b48b2
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
share/man/man4/netlink.4
sys/netlink/netlink_domain.c