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
asymmetric-parser.h -rw-r--r-- 1.2 KB
asymmetric-subtype.h -rw-r--r-- 1.6 KB
asymmetric-type.h -rw-r--r-- 2.9 KB
big_key-type.h -rw-r--r-- 950 bytes
ceph-type.h -rw-r--r-- 123 bytes
dns_resolver-type.h -rw-r--r-- 689 bytes
encrypted-type.h -rw-r--r-- 1.2 KB
keyring-type.h -rw-r--r-- 544 bytes
rxrpc-type.h -rw-r--r-- 4.0 KB
system_keyring.h -rw-r--r-- 1.4 KB
trusted-type.h -rw-r--r-- 1.2 KB
user-type.h -rw-r--r-- 1.9 KB

back to top