diff options
-rw-r--r-- | net/core/net_namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index b0dc818a91d7..f1d07b5c1e17 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c | |||
@@ -96,7 +96,7 @@ static void net_free(struct net *net) | |||
96 | return; | 96 | return; |
97 | } | 97 | } |
98 | #endif | 98 | #endif |
99 | 99 | kfree(net->gen); | |
100 | kmem_cache_free(net_cachep, net); | 100 | kmem_cache_free(net_cachep, net); |
101 | } | 101 | } |
102 | 102 | ||