NetworkManager/src/platform
Beniamino Galvani 3a0f7114fe platform: limit the maximum size of sysctl cache
When the logging level is DEBUG or TRACE, we keep all the sysctl
values we read in a cache to log how they change. Currently there is
no limit on the size of this cache and it can take a large amount of
memory.

Implement a LRU cache where the oldest entries are deleted to make
space for new ones.

https://github.com/NetworkManager/NetworkManager/pull/294
2019-02-10 10:38:54 +01:00
..
linux platform: import nl82154.h 2018-06-26 16:21:54 +02:00
tests platform/tests: avoid "-Wmissing-braces" warning in "test-route.c" 2019-02-08 20:14:50 +01:00
wifi trivial: rename nl-errno to nm-errno 2018-12-27 21:33:59 +01:00
wpan trivial: rename nl-errno to nm-errno 2018-12-27 21:33:59 +01:00
nm-fake-platform.c platform: return platform-error from link-add function 2018-12-27 21:33:59 +01:00
nm-fake-platform.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-linux-platform.c platform: limit the maximum size of sysctl cache 2019-02-10 10:38:54 +01:00
nm-linux-platform.h platform: use NMDedupMultiIndex for routes in NMPCache 2017-07-05 18:37:38 +02:00
nm-netlink.c netlink: don't require a callback argument in nl_recvmsgs() 2019-01-09 16:46:41 +01:00
nm-netlink.h netlink: add nla_put() helpers to set integers 2019-01-09 16:46:41 +01:00
nm-platform-private.h platform: expose emit-signal function from platform 2017-07-05 18:37:39 +02:00
nm-platform-utils.c all: don't use "static inline" in source files 2019-02-06 09:31:00 +01:00
nm-platform-utils.h platform/ethtool: add code to get/set offload features via ethtool 2018-08-10 10:38:19 +02:00
nm-platform.c platform: add @replace_peers argument to nm_platform_link_wireguard_change() 2019-01-22 16:30:23 +01:00
nm-platform.h platform: add @replace_peers argument to nm_platform_link_wireguard_change() 2019-01-22 16:30:23 +01:00
nmp-netns.c platform: refactor NMPNetns avoiding global variable 2019-02-05 08:18:09 +01:00
nmp-netns.h core: cleanup implementation of nm_auto* macros to use nm_auto() 2017-10-11 08:43:40 +02:00
nmp-object.c all: don't use "static inline" in source files 2019-02-06 09:31:00 +01:00
nmp-object.h platform: add and use nm_sock_addr_union_to_string() 2019-01-22 16:30:23 +01:00