diff options
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 3dc94febc9ee..99448f06a42a 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -175,7 +175,7 @@ static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) | |||
175 | static void tcp_incr_quickack(struct sock *sk) | 175 | static void tcp_incr_quickack(struct sock *sk) |
176 | { | 176 | { |
177 | struct inet_connection_sock *icsk = inet_csk(sk); | 177 | struct inet_connection_sock *icsk = inet_csk(sk); |
178 | unsigned quickacks = tcp_sk(sk)->rcv_wnd / (2 * icsk->icsk_ack.rcv_mss); | 178 | unsigned int quickacks = tcp_sk(sk)->rcv_wnd / (2 * icsk->icsk_ack.rcv_mss); |
179 | 179 | ||
180 | if (quickacks == 0) | 180 | if (quickacks == 0) |
181 | quickacks = 2; | 181 | quickacks = 2; |