net: ib_net pointer should depends on CONFIG_NET_NS
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 12 Nov 2008 08:54:20 +0000 (00:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2008 08:54:20 +0000 (00:54 -0800)
commit7a9546ee354ec6f23af403992b8c07baa50a23d2
tree8536e2f4aa79921c0b2666795cdff91be80a2057
parent8f424b5f32d78b4f353b3cddca9804808ef063eb
net: ib_net pointer should depends on CONFIG_NET_NS

We can shrink size of "struct inet_bind_bucket" by 50%, using
read_pnet() and write_pnet()

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_hashtables.h
net/ipv4/inet_connection_sock.c
net/ipv4/inet_hashtables.c