sch_netem: replace magic numbers with enumerate in GE model
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 14 Feb 2014 02:30:43 +0000 (10:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Feb 2014 05:15:20 +0000 (00:15 -0500)
commitc045a734da4cb6d4665962f252de3d8871136ae9
treeb3ddf538461176d277602de09e0b56838c9c387d
parent49545a7775e746e4e32d1524801221ffdfe1cc0a
sch_netem: replace magic numbers with enumerate in GE model

Replace some magic numbers which describe states of GE 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