diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2017-12-20 06:12:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-20 22:00:25 +0300 |
commit | b0832e30058405405cfec73e7f545b184c198905 (patch) | |
tree | 48119cb715ae3f2c2cc36dfe57e8f7793868acb4 /net/dccp/proto.c | |
parent | 986ffdfd08dbaae721e82720e6bfc2c307e732dd (diff) | |
download | linux-b0832e30058405405cfec73e7f545b184c198905.tar.xz |
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/proto.c')
-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); |