diff options
author | Mark Brown <broonie@kernel.org> | 2018-06-27 14:26:54 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-27 14:26:54 +0100 |
commit | 8900747f49c2a7f38239abe710de4a1d1d275591 (patch) | |
tree | 85e6c71602e59d3651221fde54fd32b292569809 /net/ipv4/tcp_ipv4.c | |
parent | 14c74ac318a8fe6dd6e13ddc93a5b458147a7c4c (diff) | |
parent | c806e0856941597f058b4a527d77dbc0000c513c (diff) |
Merge tag 'v4.9.110' into linux-linaro-lsk-v4.9lsk-v4.9-18.06
This is the 4.9.110 stable release
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 b3960738464e..504cdae41013 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -1661,6 +1661,10 @@ process: reqsk_put(req); goto discard_it; } + if (tcp_checksum_complete(skb)) { + reqsk_put(req); + goto csum_error; + } if (unlikely(sk->sk_state != TCP_LISTEN)) { inet_csk_reqsk_queue_drop_and_put(sk, req); goto lookup; |