aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/tcp_ipv4.c1
-rw-r--r--net/ipv6/tcp_ipv6.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 32b048e524d6..436d978c6c39 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1602,6 +1602,7 @@ process:
1602 1602
1603 sk = req->rsk_listener; 1603 sk = req->rsk_listener;
1604 if (unlikely(tcp_v4_inbound_md5_hash(sk, skb))) { 1604 if (unlikely(tcp_v4_inbound_md5_hash(sk, skb))) {
1605 sk_drops_add(sk, skb);
1605 reqsk_put(req); 1606 reqsk_put(req);
1606 goto discard_it; 1607 goto discard_it;
1607 } 1608 }
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index e0f46439e391..ac0ed7bda406 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1409,6 +1409,7 @@ process:
1409 sk = req->rsk_listener; 1409 sk = req->rsk_listener;
1410 tcp_v6_fill_cb(skb, hdr, th); 1410 tcp_v6_fill_cb(skb, hdr, th);
1411 if (tcp_v6_inbound_md5_hash(sk, skb)) { 1411 if (tcp_v6_inbound_md5_hash(sk, skb)) {
1412 sk_drops_add(sk, skb);
1412 reqsk_put(req); 1413 reqsk_put(req);
1413 goto discard_it; 1414 goto discard_it;
1414 } 1415 }