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
platform
acbuffer.h -rw-r--r-- 10.4 KB
acconfig.h -rw-r--r-- 8.6 KB
acexcep.h -rw-r--r-- 17.4 KB
acnames.h -rw-r--r-- 3.7 KB
acoutput.h -rw-r--r-- 17.7 KB
acpi.h -rw-r--r-- 3.1 KB
acpi_bus.h -rw-r--r-- 17.8 KB
acpi_drivers.h -rw-r--r-- 4.0 KB
acpi_io.h -rw-r--r-- 674 bytes
acpi_lpat.h -rw-r--r-- 1.5 KB
acpi_numa.h -rw-r--r-- 560 bytes
acpiosxf.h -rw-r--r-- 12.2 KB
acpixf.h -rw-r--r-- 31.4 KB
acrestyp.h -rw-r--r-- 17.6 KB
actbl.h -rw-r--r-- 19.4 KB
actbl1.h -rw-r--r-- 34.4 KB
actbl2.h -rw-r--r-- 40.3 KB
actbl3.h -rw-r--r-- 19.8 KB
actypes.h -rw-r--r-- 41.8 KB
acuuid.h -rw-r--r-- 4.0 KB
apei.h -rw-r--r-- 1.3 KB
button.h -rw-r--r-- 582 bytes
cppc_acpi.h -rw-r--r-- 2.9 KB
ghes.h -rw-r--r-- 1.5 KB
hed.h -rw-r--r-- 371 bytes
pcc.h -rw-r--r-- 786 bytes
pdc_intel.h -rw-r--r-- 1009 bytes
processor.h -rw-r--r-- 10.9 KB
reboot.h -rw-r--r-- 162 bytes
video.h -rw-r--r-- 2.8 KB

back to top