summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>2016-11-01 14:02:43 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-01 11:53:25 -0400
commit0c288c86928e50d6d8d2efa4ca23dca58d28543e (patch)
treeae1301d59873ab1ca49892e81917b128c7183fbe /Makefile
parentc752023aab5856559a295d045530af89cc51df06 (diff)
tipc: create TIPC_LISTEN as a new sk_state
Until now, tipc maintains the socket state in sock->state variable. This is used to maintain generic socket states, but in tipc we overload it and save tipc socket states like TIPC_LISTEN. Other protocols like TCP, UDP store protocol specific states in sk->sk_state instead. In this commit, we : - declare a new tipc state TIPC_LISTEN, that replaces SS_LISTEN - Create a new function tipc_set_state(), to update sk->sk_state. - TIPC_LISTEN state is maintained in sk->sk_state. - replace references to SS_LISTEN with TIPC_LISTEN. There is no functional change in this commit. Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions