mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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>
This commit is contained in:
parent
986ffdfd08
commit
b0832e3005
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user