diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index fed3f1c66167..bea17f1e8302 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -1730,6 +1730,10 @@ process: | |||
1730 | reqsk_put(req); | 1730 | reqsk_put(req); |
1731 | goto discard_it; | 1731 | goto discard_it; |
1732 | } | 1732 | } |
1733 | if (tcp_checksum_complete(skb)) { | ||
1734 | reqsk_put(req); | ||
1735 | goto csum_error; | ||
1736 | } | ||
1733 | if (unlikely(sk->sk_state != TCP_LISTEN)) { | 1737 | if (unlikely(sk->sk_state != TCP_LISTEN)) { |
1734 | inet_csk_reqsk_queue_drop_and_put(sk, req); | 1738 | inet_csk_reqsk_queue_drop_and_put(sk, req); |
1735 | goto lookup; | 1739 | goto lookup; |