diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2016-12-22 07:22:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-23 17:53:47 -0500 |
commit | 693c56491fb720087437a635e6eaf440659b922f (patch) | |
tree | 2889cdc6f954142ec0f054d435cf2dd5c2250b3d /Documentation | |
parent | e252536068efd1578c6e23e7323527c5e6e980bd (diff) |
tipc: don't send FIN message from connectionless socket
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions