platform/trivial: add fixme code comment

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller
2014-05-29 13:08:40 +02:00
parent 90ab7e83ff
commit cffca6a1c2

View File

@@ -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);