YOSHIFUJI Hideaki 3b1e0a655f [NET] NETNS: Omit sock->sk_net without CONFIG_NET_NS.
Introduce per-sock inlines: sock_net(), sock_net_set()
and per-inet_timewait_sock inlines: twsk_net(), twsk_net_set().
Without CONFIG_NET_NS, no namespace other than &init_net exists.
Let's explicitly define them to help compiler optimizations.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
2008-03-26 04:39:55 +09:00
..
2008-01-28 15:00:11 -08:00
2008-03-23 22:54:03 -07:00
2007-02-10 23:19:16 -08:00
2006-12-02 21:32:08 -08:00
2007-02-10 23:19:16 -08:00
2005-04-16 15:20:36 -07:00
2007-02-10 23:19:16 -08:00
2007-10-10 16:54:48 -07:00
2007-02-10 23:19:16 -08:00