]> 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)
commita1624709b11ea0ed805ee9cf49a6f837b688792a
treeedc9022ebdf66681e1847b1c0e968b3faa5a44ea
parentd721eff1e312a97fe722032bcbe05be0206551ac
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