summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorJulia Cartwright <julia@ni.com>2018-08-03 19:54:07 -0500
committerJulia Cartwright <julia@ni.com>2018-08-03 19:54:07 -0500
commitb0280e3a3f5480cf7bcfd2d2e05081b56f53b031 (patch)
tree44a2671a5dea8b2696941f65641b8e870502ff3f /net/ipv4/tcp_ipv4.c
parente4b48eef7bd80597543aa4d6684721a46cf191ea (diff)
parentc806e0856941597f058b4a527d77dbc0000c513c (diff)
downloadlinux-rt-b0280e3a3f5480cf7bcfd2d2e05081b56f53b031.tar.gz
Merge tag 'v4.9.110' into v4.9-rt
This is the 4.9.110 stable release
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 17699390a324..7ba525b9b0e6 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1668,6 +1668,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;