]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sch_netem: replace magic numbers with enumerate
authorYang Yingliang <yangyingliang@huawei.com>
Sat, 18 Jan 2014 10:13:31 +0000 (18:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2014 01:17:34 +0000 (17:17 -0800)
commita6e2fe17eba47681e82cdb9cfed5a67b57802a78
treec70aefc7a1b0de525e21908c31ae6ec123091a5c
parent6444f72b4b74f627c51891101e93ba2b94078b0a
sch_netem: replace magic numbers with enumerate

Replace some magic numbers which describe states of 4-state model
loss generator with enumerate.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c