Re: [PATCH net 1/1] tipc: don't send FIN message from connectionless socket

2016-12-22 Thread David Miller
From: Jon Maloy 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 harmle

[PATCH net 1/1] tipc: don't send FIN message from connectionless socket

2016-12-22 Thread Jon Maloy
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 z