Revision 693c56491fb720087437a635e6eaf440659b922f authored by Jon Paul Maloy on 22 December 2016, 12:22:29 UTC, committed by David S. Miller on 23 December 2016, 22:53:47 UTC
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.bhuvaragan@ericsson.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent e252536
History
File Mode Size
ciscode.h -rw-r--r-- 3.3 KB
cisreg.h -rw-r--r-- 2.7 KB
cistpl.h -rw-r--r-- 14.3 KB
device_id.h -rw-r--r-- 9.4 KB
ds.h -rw-r--r-- 7.9 KB
ss.h -rw-r--r-- 7.0 KB

back to top