]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
tipc: Add check to prevent insertion of duplicate name table entries
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 3 Nov 2011 15:12:01 +0000 (11:12 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 24 Feb 2012 22:05:14 +0000 (17:05 -0500)
commitf80c24d9964c8a15c55d1afc2dea327c5eff7d6b
tree8a174990875cf1e7bfc8e0dff2272d5488bd7807
parentc422f1bdc3d3f9f637b3d288a6601668e26111d6
tipc: Add check to prevent insertion of duplicate name table entries

Adds a new check to TIPC's name table logic to reject any attempt to
create a new name publication that is identical to an existing one.
(Such an attempt will never happen under normal circumstances, but
could arise if another network node malfunctions and issues a duplicate
name publication message.)

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/name_table.c