net: tracepoint: using sock_set_state tracepoint to trace SCTP state transition
authorYafang Shao <laoar.shao@gmail.com>
Wed, 20 Dec 2017 03:12:54 +0000 (11:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 19:00:25 +0000 (14:00 -0500)
commitcbabf46364b27d08335fef37ecd7a8b89a1c8e07
tree503a12a1a7357e7b0935fa321ae878a850febb3c
parentb0832e30058405405cfec73e7f545b184c198905
net: tracepoint: using sock_set_state tracepoint to trace SCTP state transition

With changes in inet_ files, SCTP state transitions are traced with
inet_sock_set_state tracepoint.
As SCTP state names, i.e. SCTP_SS_CLOSED, SCTP_SS_ESTABLISHED,
have the same value with TCP state names. So the output info still print
the TCP state names, that makes the code easy.

Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/endpointola.c
net/sctp/sm_sideeffect.c
net/sctp/socket.c