mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
tcp: rstreason: let it work finally in tcp_send_active_reset()
Now it's time to let it work by using the 'reason' parameter in the trace world :) Signed-off-by: Jason Xing <kernelxing@tencent.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c026c6562f
commit
ba0ca286c9
@ -3649,7 +3649,7 @@ void tcp_send_active_reset(struct sock *sk, gfp_t priority,
|
||||
/* skb of trace_tcp_send_reset() keeps the skb that caused RST,
|
||||
* skb here is different to the troublesome skb, so use NULL
|
||||
*/
|
||||
trace_tcp_send_reset(sk, NULL, SK_RST_REASON_NOT_SPECIFIED);
|
||||
trace_tcp_send_reset(sk, NULL, reason);
|
||||
}
|
||||
|
||||
/* Send a crossed SYN-ACK during socket establishment.
|
||||
|
Loading…
Reference in New Issue
Block a user