diff options
| author | Harshit Mogalapalli <[email protected]> | 2021-11-12 21:36:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-11-15 13:23:23 +0000 |
| commit | cb3ef7b00042479277cda7871d899378ad91f081 (patch) | |
| tree | 6089449ba0ae3f904f158c726876c4432de9e56a /net/unix/af_unix.c | |
| parent | net: dsa: vsc73xxx: Make vsc73xx_remove() return void (diff) | |
| download | kernel-cb3ef7b00042479277cda7871d899378ad91f081.tar.gz kernel-cb3ef7b00042479277cda7871d899378ad91f081.zip | |
net: sched: sch_netem: Refactor code in 4-state loss generator
Fixed comments to match description with variable names and
refactored code to match the convention as per [1].
To match the convention mapping is done as follows:
State 3 - LOST_IN_BURST_PERIOD
State 4 - LOST_IN_GAP_PERIOD
[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"
Fixes: a6e2fe17eba4 ("sch_netem: replace magic numbers with enumerate")
Signed-off-by: Harshit Mogalapalli <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
