]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tipc: Enhancements to name table initialization
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 12 May 2008 22:41:53 +0000 (15:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 May 2008 22:41:53 +0000 (15:41 -0700)
commit4e3e6dcb43c3669a8817cb3d0f920f91661afd98
tree84b83811790add972a3a47ee378afd44b011a47d
parent20c2c1fd6c842caf70dcb1d94b9d58861949fd3d
tipc: Enhancements to name table initialization

This patch enhances the initialization of TIPC's name table
by removing a pointless spinlock operation, and by using
kcalloc() to detect requests for an oversized name table.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_table.c