Re: [PATCH] net: sched: sch_netem: Refactor code in 4-state loss generator

From: Stephen Hemminger
Date: Fri Nov 12 2021 - 11:12:52 EST


On Thu, 11 Nov 2021 23:14:47 -0800
Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx> wrote:

> Fixed comments to match description with variable names and
> refactored code to match the convention as per [1].
> [1] S. Salsano, F. Ludovici, A. Ordine, "Definition of a general
> and intuitive loss model for packet networks and its implementation
> in the Netem module in the Linux kernel"
>
> Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>

I wonder if this was changed accidently by this commit
Commit: a6e2fe17eba4 ("sch_netem: replace magic numbers with enumerate")