diff options
| author | Parthasarathy Bhuvaragan <[email protected]> | 2016-11-01 14:02:40 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-01 11:53:24 -0400 |
| commit | d6fb7e9c9946578667283805b9a73f318e3a0554 (patch) | |
| tree | 2270e200a2550c081f3c2b5eae1c2d29f5b224a9 /tools/perf/scripts/python | |
| parent | 87227fe7e42060af9bc8977fc17427e7c9cadb5d (diff) | |
tipc: remove tsk->connected from tipc_sock
Until now, we determine if a socket is connected or not based on
tsk->connected, which is set once when the probing state is set
to TIPC_CONN_OK. It is unset when the sock->state is updated from
SS_CONNECTED to any other state.
In this commit, we remove connected variable from tipc_sock and
derive socket connection status from the following condition:
sock->state == SS_CONNECTED => tsk->connected
There is no functional change in this commit.
Acked-by: Ying Xue <[email protected]>
Acked-by: Jon Maloy <[email protected]>
Signed-off-by: Parthasarathy Bhuvaragan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions