diff options
| author | Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> | 2016-11-01 16:02:40 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-01 18:53:24 +0300 |
| commit | d6fb7e9c9946578667283805b9a73f318e3a0554 (patch) | |
| tree | 2270e200a2550c081f3c2b5eae1c2d29f5b224a9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 87227fe7e42060af9bc8977fc17427e7c9cadb5d (diff) | |
| download | linux-d6fb7e9c9946578667283805b9a73f318e3a0554.tar.xz | |
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 <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
