]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tipc: Prevent display of name table types with no publications
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 5 Jun 2008 00:37:59 +0000 (17:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2008 00:37:59 +0000 (17:37 -0700)
commit0f15d36453bbd02d404445dace49f4ae072f44e5
tree3b71e05968d8fbf202730d817d655bc399822271
parent757152175666681d54d370500e41a756cfedd4fc
tipc: Prevent display of name table types with no publications

This patch adds a check to prevent TIPC's name table display code
from listing a name type entry if it exists only to hold subscription
info, rather than published names.

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