]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd7ebccd003b355808a9bd4b979b86b3cba51e18
tree8536e2f4aa79921c0b2666795cdff91be80a2057
parentf95247bf9e06ef17151dbdd7e3adf4a26c9d814d
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