netns: Use net_eq() to compare net-namespaces for optimization.
YOSHIFUJI Hideaki authored

Without CONFIG_NET_NS, namespace is always &init_net.
Compiler will be able to omit namespace comparisons with this patch.
Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
721499e8
Name Last commit Last update
..
Kconfig
Makefile
af_econet.c