netns: Use net_eq() to compare net-namespaces for optimization.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Sun, 20 Jul 2008 05:34:43 +0000 (22:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Jul 2008 05:34:43 +0000 (22:34 -0700)
Without CONFIG_NET_NS, namespace is always &init_net.
Compiler will be able to omit namespace comparisons with this patch.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found