tipc: Don't record failed publication attempt as a success
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 9 Nov 2011 19:22:52 +0000 (14:22 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 19 Apr 2012 19:46:37 +0000 (15:46 -0400)
commitfd6eced8a482986784eb1f3aa0838dbdd725e71c
treeedc9022ebdf66681e1847b1c0e968b3faa5a44ea
parent1110b8d33a54d1b91131e2a70ef0c3c26425b800
tipc: Don't record failed publication attempt as a success

No longer increments counter of number of publications by a node
if an attempt to add a new publication fails. This prevents TIPC from
incorrectly blocking future publications because the configured maximum
number of publications has been reached.

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