Subject: Re: [PATCH net] tcp: Fix divide by zero when pushing during tcp-repair

From: Pavel Emelyanov <[email-masked]>
Date: Mon, 30 Jun 2014 17:12:25 +0400

On 06/28/2014 08:26 PM, Christoph Paasch wrote:
> When in repair-mode and TCP_RECV_QUEUE is set, we end up calling
> tcp_push with mss_now being 0. If data is in the send-queue and
> tcp_set_skb_tso_segs gets called, we crash because it will divide by
> mss_now:
> 
snip
> Cc: Andrew Vagin <[email-masked]>
> Cc: Pavel Emelyanov <[email-masked]>
> Fixes: ec3423257508 (tcp: fix retransmission in repair mode)
> Signed-off-by: Christoph Paasch <[email-masked]>

Acked-by: Pavel Emelyanov <[email-masked]>

Thanks,
Pavel