From: Erik Hugne Date: Thu, 3 Apr 2014 06:28:01 +0000 (+0200) Subject: tipc: fix regression bug where node events are not being generated X-Git-Tag: v3.15-rc1~47^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5e7ac5ce134d8f72f59631011fafa7bbf7ca174;p=pandora-kernel.git tipc: fix regression bug where node events are not being generated Commit 5902385a2440a55f005b266c93e0bb9398e5a62b ("tipc: obsolete the remote management feature") introduces a regression where node topology events are not being generated because the publication that triggers this: {0, , } is no longer available. This will break applications that rely on node events to discover when nodes join/leave a cluster. We fix this by advertising the node publication when TIPC enters networking mode, and withdraws it upon shutdown. Signed-off-by: Erik Hugne Reviewed-by: Jon Maloy Reviewed-by: Ying Xue Signed-off-by: David S. Miller --- Reading git-diff-tree failed