]> git.baikalelectronics.ru Git - kernel.git/commit
netem: use vmalloc for distribution table
authorstephen hemminger <shemminger@vyatta.com>
Wed, 23 Feb 2011 13:04:18 +0000 (13:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Feb 2011 06:11:54 +0000 (22:11 -0800)
commit42a481f3a8fe265e607cb8690949d89c2f4bd0c4
tree9d49a02cbb695c1eeaa7867c649e22c901248447
parent843ef8a274b9a3db0547f3bfe5da1e52f1a49b52
netem: use vmalloc for distribution table

The netem probability table can be large (up to 64K bytes)
which may be too large to allocate in one contiguous chunk.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c