aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dst.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/dst.c')
-rw-r--r--net/core/dst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dst.c b/net/core/dst.c
index 7eceebaabaaa..7deef483c79f 100644
--- a/net/core/dst.c
+++ b/net/core/dst.c
@@ -165,7 +165,7 @@ void * dst_alloc(struct dst_ops * ops)
165 struct dst_entry * dst; 165 struct dst_entry * dst;
166 166
167 if (ops->gc && atomic_read(&ops->entries) > ops->gc_thresh) { 167 if (ops->gc && atomic_read(&ops->entries) > ops->gc_thresh) {
168 if (ops->gc()) 168 if (ops->gc(ops))
169 return NULL; 169 return NULL;
170 } 170 }
171 dst = kmem_cache_zalloc(ops->kmem_cachep, GFP_ATOMIC); 171 dst = kmem_cache_zalloc(ops->kmem_cachep, GFP_ATOMIC);