]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/dst.c
r6040: erroneous dev->priv
[linux-2.6-omap-h63xx.git] / net / core / dst.c
index 7eceebaabaaaf79d589eb3e9f5478a4a98d0fa0f..7deef483c79f263959c0c1dac148529ecc80d73c 100644 (file)
@@ -165,7 +165,7 @@ void * dst_alloc(struct dst_ops * ops)
        struct dst_entry * dst;
 
        if (ops->gc && atomic_read(&ops->entries) > ops->gc_thresh) {
-               if (ops->gc())
+               if (ops->gc(ops))
                        return NULL;
        }
        dst = kmem_cache_zalloc(ops->kmem_cachep, GFP_ATOMIC);