]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7f65c64a97a21ddada99cdd3e591a3c3a0e8405
treeedc9022ebdf66681e1847b1c0e968b3faa5a44ea
parent487737d8be32d5e6e5512971f8d29531a8177b96
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