]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3c86812f8cf1211146023899b9e83c5ffa362e1
treee871bc6f687e62a5c34d8f63a92fb6abf0462547
parent0f08b8e1289d6ab3fd61128948c4e1a7e61bcddd
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