[PATCH] net: ib_net pointer should depends on CONFIG_NET_NS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Tuesday, November 11, 2008 - 11:21 pm

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>
---
 include/net/inet_hashtables.h   |    7 +++++++
 net/ipv4/inet_connection_sock.c |    4 ++--
 net/ipv4/inet_hashtables.c      |    6 +++---
 3 files changed, 12 insertions(+), 5 deletions(-)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] net: #ifdef inet_bind_bucket::ib_net, Alexey Dobriyan, (Tue Nov 11, 4:08 am)
[PATCH v2] net: #ifdef inet_bind_bucket::ib_net, Alexey Dobriyan, (Tue Nov 11, 4:19 am)
Re: [PATCH v2] net: #ifdef inet_bind_bucket::ib_net, David Miller, (Tue Nov 11, 5:45 pm)
[PATCH] net: ib_net pointer should depends on CONFIG_NET_NS, Eric Dumazet, (Tue Nov 11, 11:21 pm)
[PATCH] net: Cleanup of neighbour code, Eric Dumazet, (Tue Nov 11, 11:31 pm)
Re: [PATCH] net: Cleanup of neighbour code, David Miller, (Wed Nov 12, 1:55 am)
Re: [PATCH v2] net: #ifdef inet_bind_bucket::ib_net, Alexey Dobriyan, (Wed Nov 12, 3:44 am)
Re: [PATCH v2] net: #ifdef inet_bind_bucket::ib_net, Eric Dumazet, (Wed Nov 12, 3:50 am)
Re: [PATCH v2] net: #ifdef inet_bind_bucket::ib_net, Eric Dumazet, (Wed Nov 12, 3:55 am)
Re: [PATCH v2] net: #ifdef inet_bind_bucket::ib_net, David Miller, (Wed Nov 12, 4:16 am)
Re: [PATCH v3] net: #ifdef inet_bind_bucket::ib_net, David Miller, (Wed Nov 12, 5:24 am)
[PATCH v3] net: #ifdef inet_bind_bucket::ib_net, Alexey Dobriyan, (Wed Nov 12, 5:24 am)