diff options
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index ab3f12898245..c5e64d4b5839 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -75,6 +75,7 @@ | |||
75 | #include <linux/ipsec.h> | 75 | #include <linux/ipsec.h> |
76 | #include <asm/unaligned.h> | 76 | #include <asm/unaligned.h> |
77 | #include <linux/errqueue.h> | 77 | #include <linux/errqueue.h> |
78 | #include <trace/events/tcp.h> | ||
78 | 79 | ||
79 | int sysctl_tcp_fack __read_mostly; | 80 | int sysctl_tcp_fack __read_mostly; |
80 | int sysctl_tcp_max_reordering __read_mostly = 300; | 81 | int sysctl_tcp_max_reordering __read_mostly = 300; |
@@ -4010,6 +4011,8 @@ static inline bool tcp_sequence(const struct tcp_sock *tp, u32 seq, u32 end_seq) | |||
4010 | /* When we get a reset we do this. */ | 4011 | /* When we get a reset we do this. */ |
4011 | void tcp_reset(struct sock *sk) | 4012 | void tcp_reset(struct sock *sk) |
4012 | { | 4013 | { |
4014 | trace_tcp_receive_reset(sk); | ||
4015 | |||
4013 | /* We want the right error as BSD sees it (and indeed as we do). */ | 4016 | /* We want the right error as BSD sees it (and indeed as we do). */ |
4014 | switch (sk->sk_state) { | 4017 | switch (sk->sk_state) { |
4015 | case TCP_SYN_SENT: | 4018 | case TCP_SYN_SENT: |