inet: remove icsk_ack.blocked
[sfrench/cifs-2.6.git] / net / ipv4 / tcp_output.c
index 386978dcd318d84af486d0d1a5bb1786f4a493cf..6bd4e383030ea20441332a30e98fbda8cd90f84a 100644 (file)
@@ -3911,11 +3911,8 @@ void tcp_send_delayed_ack(struct sock *sk)
 
        /* Use new timeout only if there wasn't a older one earlier. */
        if (icsk->icsk_ack.pending & ICSK_ACK_TIMER) {
-               /* If delack timer was blocked or is about to expire,
-                * send ACK now.
-                */
-               if (icsk->icsk_ack.blocked ||
-                   time_before_eq(icsk->icsk_ack.timeout, jiffies + (ato >> 2))) {
+               /* If delack timer is about to expire, send ACK now. */
+               if (time_before_eq(icsk->icsk_ack.timeout, jiffies + (ato >> 2))) {
                        tcp_send_ack(sk);
                        return;
                }