aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 988733f289c8..1f01f4c9c738 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -3084,6 +3084,11 @@ void tcp_send_active_reset(struct sock *sk, gfp_t priority)
3084 /* Send it off. */ 3084 /* Send it off. */
3085 if (tcp_transmit_skb(sk, skb, 0, priority)) 3085 if (tcp_transmit_skb(sk, skb, 0, priority))
3086 NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTFAILED); 3086 NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPABORTFAILED);
3087
3088 /* skb of trace_tcp_send_reset() keeps the skb that caused RST,
3089 * skb here is different to the troublesome skb, so use NULL
3090 */
3091 trace_tcp_send_reset(sk, NULL);
3087} 3092}
3088 3093
3089/* Send a crossed SYN-ACK during socket establishment. 3094/* Send a crossed SYN-ACK during socket establishment.