diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 83f72346274a..32a0ebc589d5 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -990,11 +990,10 @@ int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb) | |||
990 | * to destinations, already remembered | 990 | * to destinations, already remembered |
991 | * to the moment of synflood. | 991 | * to the moment of synflood. |
992 | */ | 992 | */ |
993 | LIMIT_NETDEBUG(printk(KERN_DEBUG "TCP: drop open " | 993 | LIMIT_NETDEBUG(KERN_DEBUG "TCP: drop open " |
994 | "request from %u.%u." | 994 | "request from %u.%u.%u.%u/%u\n", |
995 | "%u.%u/%u\n", | 995 | NIPQUAD(saddr), |
996 | NIPQUAD(saddr), | 996 | ntohs(skb->h.th->source)); |
997 | ntohs(skb->h.th->source))); | ||
998 | dst_release(dst); | 997 | dst_release(dst); |
999 | goto drop_and_free; | 998 | goto drop_and_free; |
1000 | } | 999 | } |
@@ -1118,7 +1117,7 @@ static int tcp_v4_checksum_init(struct sk_buff *skb) | |||
1118 | skb->nh.iph->daddr, skb->csum)) | 1117 | skb->nh.iph->daddr, skb->csum)) |
1119 | return 0; | 1118 | return 0; |
1120 | 1119 | ||
1121 | LIMIT_NETDEBUG(printk(KERN_DEBUG "hw tcp v4 csum failed\n")); | 1120 | LIMIT_NETDEBUG(KERN_DEBUG "hw tcp v4 csum failed\n"); |
1122 | skb->ip_summed = CHECKSUM_NONE; | 1121 | skb->ip_summed = CHECKSUM_NONE; |
1123 | } | 1122 | } |
1124 | if (skb->len <= 76) { | 1123 | if (skb->len <= 76) { |