Message ID | 1237821211.7142.17.camel@Maple |
---|---|
State | Rejected, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 01544cd..37343e4 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -3690,7 +3690,9 @@ no_queue: return 1; invalid_ack: - SOCK_DEBUG(sk, "Ack %u after %u:%u\n", ack, tp->snd_una, tp->snd_nxt); + if (printk_ratelimit()) + printk(KERN_NOTICE "Ack %u after %u:%u; segment discarded\n", + ack, tp->snd_una, tp->snd_nxt); return -1; old_ack: