From: Jon Maloy <jon.ma...@ericsson.com> Date: Thu, 22 Dec 2016 07:22:29 -0500
> In commit 6f00089c7372 ("tipc: remove SS_DISCONNECTING state") the > check for socket type is in the wrong place, causing a closing socket > to always send out a FIN message even when the socket was never > connected. This is normally harmless, since the destination node for > such messages most often is zero, and the message will be dropped, but > it is still a wrong and confusing behavior. > > We fix this in this commit. > > Reviewed-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvara...@ericsson.com> > Signed-off-by: Jon Maloy <jon.ma...@ericsson.com> Applied.