tipc: make name table allocated dynamically
authorYing Xue <ying.xue@windriver.com>
Tue, 2 Dec 2014 07:00:24 +0000 (15:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:39:56 +0000 (20:39 -0500)
commit993bfe5daf34c645a51348facdc7c28c55f488fe
tree004748177d0ee50bfad2e6b12f3364f7e047adf9
parent1b61e70ad13e1c907f143c3b0a1694df640639c0
tipc: make name table allocated dynamically

Name table locking policy is going to be adjusted from read-write
lock protection to RCU lock protection in the future commits. But
its essential precondition is to convert the allocation way of name
table from static to dynamic mode.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Tested-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_distr.c
net/tipc/name_table.c
net/tipc/name_table.h