netns: build fix for net_alloc_generic
authorClemens Noss <cnoss@gmx.de>
Mon, 23 Feb 2009 23:37:35 +0000 (15:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2009 23:37:35 +0000 (15:37 -0800)
commitebe47d47b7b7fed72dabcce4717da727b4e2367d
treee871bc6f687e62a5c34d8f63a92fb6abf0462547
parent486a87f1e5624096bd1c09e9e716239597d48dca
netns: build fix for net_alloc_generic

net_alloc_generic was defined in #ifdef CONFIG_NET_NS, but used
unconditionally. Move net_alloc_generic out of #ifdef.

Signed-off-by: Clemens Noss <cnoss@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c