tbf: stop wanton destruction of children (v2)
authorstephen hemminger <shemminger@vyatta.com>
Fri, 14 May 2010 14:38:59 +0000 (14:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2010 00:44:35 +0000 (17:44 -0700)
commitf0cd15081a72075df16c45a2310e873fb9fcd82f
tree88e462778635cb4e285315f144b62276bdcff6df
parentccbd6a5a4f76e821ed36f69fdaf59817c3a7f18e
tbf: stop wanton destruction of children (v2)

Several netem users use TBF for rate control. But every time the parameters
of TBF are changed it destroys the child qdisc, requiring reconfigation.
Better to just keep child qdisc and just notify it of changed limit.

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