diff options
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 078d039e8fd2..4cf55ae7bf80 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -723,12 +723,10 @@ static int tcp_v6_inbound_md5_hash(struct sock *sk, const struct sk_buff *skb) | |||
723 | NULL, NULL, skb); | 723 | NULL, NULL, skb); |
724 | 724 | ||
725 | if (genhash || memcmp(hash_location, newhash, 16) != 0) { | 725 | if (genhash || memcmp(hash_location, newhash, 16) != 0) { |
726 | if (net_ratelimit()) { | 726 | net_info_ratelimited("MD5 Hash %s for [%pI6c]:%u->[%pI6c]:%u\n", |
727 | printk(KERN_INFO "MD5 Hash %s for [%pI6c]:%u->[%pI6c]:%u\n", | 727 | genhash ? "failed" : "mismatch", |
728 | genhash ? "failed" : "mismatch", | 728 | &ip6h->saddr, ntohs(th->source), |
729 | &ip6h->saddr, ntohs(th->source), | 729 | &ip6h->daddr, ntohs(th->dest)); |
730 | &ip6h->daddr, ntohs(th->dest)); | ||
731 | } | ||
732 | return 1; | 730 | return 1; |
733 | } | 731 | } |
734 | return 0; | 732 | return 0; |