diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2017-12-20 11:12:53 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-20 14:00:25 -0500 |
commit | b0832e30058405405cfec73e7f545b184c198905 (patch) | |
tree | 48119cb715ae3f2c2cc36dfe57e8f7793868acb4 /net/dccp | |
parent | 986ffdfd08dbaae721e82720e6bfc2c307e732dd (diff) | |
download | linux-stable-b0832e30058405405cfec73e7f545b184c198905.tar.gz linux-stable-b0832e30058405405cfec73e7f545b184c198905.tar.bz2 linux-stable-b0832e30058405405cfec73e7f545b184c198905.zip |
net: tracepoint: using sock_set_state tracepoint to trace DCCP state transition
With changes in inet_ files, DCCP state transitions are traced with
inet_sock_set_state tracepoint.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r-- | net/dccp/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index 9d43c1f40274..7a75a1d3568b 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c @@ -110,7 +110,7 @@ void dccp_set_state(struct sock *sk, const int state) /* Change state AFTER socket is unhashed to avoid closed * socket sitting in hash tables. */ - sk->sk_state = state; + inet_sk_set_state(sk, state); } EXPORT_SYMBOL_GPL(dccp_set_state); |