diff options
| author | 2007-09-12 14:01:08 +0200 | |
|---|---|---|
| committer | 2007-10-10 16:49:14 -0700 | |
| commit | 678aa8e4eb1e5d78dfdb70934932c9c90e315f62 (patch) | |
| tree | fb9e6201ca9d84d2f946c2e87831450246d04c00 /net/core/net_namespace.c | |
| parent | [NET]: Disable netfilter sockopts when not in the initial network namespace (diff) | |
| download | linux-dev-678aa8e4eb1e5d78dfdb70934932c9c90e315f62.tar.xz linux-dev-678aa8e4eb1e5d78dfdb70934932c9c90e315f62.zip | |
[NET]: #if 0 out net_alloc() for now.
We will undo this once it is actually used.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net_namespace.c')
| -rw-r--r-- | net/core/net_namespace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index f259a9b6fdc1..1fc513c4c79e 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -32,10 +32,12 @@ void net_unlock(void) mutex_unlock(&net_list_mutex); } +#if 0 static struct net *net_alloc(void) { return kmem_cache_alloc(net_cachep, GFP_KERNEL); } +#endif static void net_free(struct net *net) { |
