Re: [PATCH net-next 1/3] tcp_bic: fix divide by zero on max_increment == 0

From: Eric Dumazet

Date: Wed Sep 30 2026 - 07:31:06 EST


On Wed, Sep 30, 2026 at 12:10 PM Jiayuan Chen <jiayuan.chen@xxxxxxxxx> wrote:
>
> max_increment is how many packets cwnd can grow per RTT, so 0 makes
> no sense, and bictcp_update() divides by it.
>
> Reject values below 1 when the parameter is written.
>
> Fixes: 83803034f423 ("[TCP]: Add TCP BIC congestion control module.")
> Reported-by: VEGA <vega@xxxxxxxxxx>
> Signed-off-by: Jiayuan Chen <jiayuan.chen@xxxxxxxxx>

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>