From 147132c570c51a1a4246c43b50143a77a6ae9dcf Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Sun, 21 Oct 2007 16:24:27 -0700 Subject: [PATCH] --- yaml --- r: 72096 b: refs/heads/master c: bfb85c9f753a7172bd962e8717118191dfd612cc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/core/neighbour.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index cd9b0542da9f..99e887d18fbf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 33b0c4fe6d0dd19fc7c9b801855f55c5260f2858 +refs/heads/master: bfb85c9f753a7172bd962e8717118191dfd612cc diff --git a/trunk/net/core/neighbour.c b/trunk/net/core/neighbour.c index 67ba9914e52e..05979e356963 100644 --- a/trunk/net/core/neighbour.c +++ b/trunk/net/core/neighbour.c @@ -1438,6 +1438,9 @@ int neigh_table_clear(struct neigh_table *tbl) free_percpu(tbl->stats); tbl->stats = NULL; + kmem_cache_destroy(tbl->kmem_cachep); + tbl->kmem_cachep = NULL; + return 0; }