diff options
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index bb326684495b..36e069a1f47b 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -5969,7 +5969,8 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb, | |||
5969 | 5969 | ||
5970 | if (tcp_check_req(sk, skb, req, NULL, true) == NULL) | 5970 | if (tcp_check_req(sk, skb, req, NULL, true) == NULL) |
5971 | goto discard; | 5971 | goto discard; |
5972 | } else if (!tcp_validate_incoming(sk, skb, th, 0)) | 5972 | } |
5973 | if (!tcp_validate_incoming(sk, skb, th, 0)) | ||
5973 | return 0; | 5974 | return 0; |
5974 | 5975 | ||
5975 | /* step 5: check the ACK field */ | 5976 | /* step 5: check the ACK field */ |