]> git.karo-electronics.de Git - linux-beck.git/commit
tipc: remove SS_DISCONNECTING state
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Tue, 1 Nov 2016 13:02:47 +0000 (14:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Nov 2016 15:53:25 +0000 (11:53 -0400)
commit6f00089c7372ba9732c046fe242301dfb0a13233
tree39064e06ccdb8a69f2bc8cf4da38f2739f42e14e
parent9fd4b070f6311faa7ba1ae746e955fedfbe3e045
tipc: remove SS_DISCONNECTING state

In this commit, we replace the references to SS_DISCONNECTING with
the combination of sk_state TIPC_DISCONNECTING and flags set in
sk_shutdown.
We introduce a new function _tipc_shutdown(), which provides
the common code required by tipc_release() and tipc_shutdown().

Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c