From: Erik Hugne Date: Thu, 6 Mar 2014 13:40:19 +0000 (+0100) Subject: tipc: drop subscriber connection id invalidation X-Git-Tag: v3.14-rc7~10^2~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edcc0511b5ee7235282a688cd604e3ae7f9e1fc9;p=pandora-kernel.git tipc: drop subscriber connection id invalidation When a topology server subscriber is disconnected, the associated connection id is set to zero. A check vs zero is then done in the subscription timeout function to see if the subscriber have been shut down. This is unnecessary, because all subscription timers will be cancelled when a subscriber terminates. Setting the connection id to zero is actually harmful because id zero is the identity of the topology server listening socket, and can cause a race that leads to this socket being closed instead. Signed-off-by: Erik Hugne Acked-by: Ying Xue Reviewed-by: Jon Maloy Signed-off-by: David S. Miller --- Reading git-diff-tree failed