net: disallow to use net_assign_generic externally
authorJiri Pirko <jpirko@redhat.com>
Fri, 23 Apr 2010 01:40:47 +0000 (01:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 22:49:02 +0000 (15:49 -0700)
commit05fceb4ad7e8bf809a2a97061d6273d27d1a8449
treea66511ff88417f12fd7a43c6f9a7c0a34662d6e5
parent47d54d65826c4a498070a5e0e1d74ce665402b4d
net: disallow to use net_assign_generic externally

Now there's no need to use this fuction directly because it's handled by
register_pernet_device. So to make this simple and easy to understand,
make this static to do not tempt potentional users.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/generic.h
net/core/net_namespace.c