diff options
author | Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> | 2016-11-01 14:02:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-01 16:53:26 +0100 |
commit | f40acbaf425e88a992ff5d41f6237a8e465de8af (patch) | |
tree | afc3bd78cc0794038a30d19f94765456ec3b3559 /arch/m68k/install.sh | |
parent | tipc: create TIPC_CONNECTING as a new sk_state (diff) | |
download | linux-f40acbaf425e88a992ff5d41f6237a8e465de8af.tar.xz linux-f40acbaf425e88a992ff5d41f6237a8e465de8af.zip |
tipc: remove SS_CONNECTED sock state
In this commit, we replace references to sock->state SS_CONNECTE
with sk_state TIPC_ESTABLISHED.
Finally, the sock->state is no longer explicitly used by tipc.
The FSM below is for various types of connection oriented sockets.
Stream Server Listening Socket:
+-----------+ +-------------+
| TIPC_OPEN |------>| TIPC_LISTEN |
+-----------+ +-------------+
Stream Server Data Socket:
+-----------+ +------------------+
| TIPC_OPEN |------>| TIPC_ESTABLISHED |
+-----------+ +------------------+
^ |
| |
| v
+--------------------+
| TIPC_DISCONNECTING |
+--------------------+
Stream Socket Client:
+-----------+ +-----------------+
| TIPC_OPEN |------>| TIPC_CONNECTING |------+
+-----------+ +-----------------+ |
| |
| |
v |
+------------------+ |
| TIPC_ESTABLISHED | |
+------------------+ |
^ | |
| | |
| v |
+--------------------+ |
| TIPC_DISCONNECTING |<--+
+--------------------+
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/m68k/install.sh')
0 files changed, 0 insertions, 0 deletions