HomeFreeBSD

TCP PRR: Patch div/0 in tcp_prr_partialack

Description

TCP PRR: Patch div/0 in tcp_prr_partialack

Adding a safety net prior to the division in tcp_prr_partialack
function, which was missed in D28114.

Reviewed-by: tuexen, mm, @transport

MFC: 3 days

Differential Revision: https://reviews.freebsd.org/D28326

(cherry picked from commit 6a376af0cd212be4e16d013d35a0e2eec1dbb8ae)

Details

Provenance
rscheffAuthored on Jan 26 2021, 3:06 PM
Differential Revision
D28326: TCP PRR: Patch div/0 in tcp_prr_partialack
Parents
rGe6341fd7220e: Adjust line length in tcp_prr_partialack
Branches
Unknown
Tags
Unknown