From cffca6a1c27db06edd1c077887b3d1757797b7fa Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 29 May 2014 13:08:40 +0200 Subject: [PATCH] platform/trivial: add fixme code comment Signed-off-by: Thomas Haller --- src/platform/nm-linux-platform.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index a051d23570..f3464fcbce 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -386,6 +386,9 @@ get_kernel_object (struct nl_sock *sock, struct nl_object *needle) struct nl_cache *cache; int nle; + /* FIXME: every time we refresh *one* object, we request an + * entire dump. E.g. check_cache_items() gets O(n2) complexitly. */ + nle = nl_cache_alloc_and_fill ( nl_cache_ops_lookup (nl_object_get_type (needle)), sock, &cache);