diff options
author | Song Liu <songliubraving@fb.com> | 2017-10-23 19:20:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-24 03:21:25 +0300 |
commit | e1a4aa50f47303ebb3ca0cfd01687884551ce03d (patch) | |
tree | 562978cf86bbabb983e1e1f2256db9e124063899 /net/ipv4/tcp_ipv4.c | |
parent | 5941521c05d69cf3f2b1293eefd21207e083b70f (diff) | |
download | linux-e1a4aa50f47303ebb3ca0cfd01687884551ce03d.tar.xz |
tcp: add tracepoint trace_tcp_destroy_sock
This patch adds trace event trace_tcp_destroy_sock.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index eb3f3b8e1e4b..23a8100af5ad 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -1869,6 +1869,8 @@ void tcp_v4_destroy_sock(struct sock *sk) { struct tcp_sock *tp = tcp_sk(sk); + trace_tcp_destroy_sock(sk); + tcp_clear_xmit_timers(sk); tcp_cleanup_congestion_control(sk); |