]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/tc_qdisc.c
tc: Fix for missing estimator initialization
authorPhil Sutter <phil@nwl.cc>
Wed, 3 Aug 2016 09:43:45 +0000 (11:43 +0200)
committerStephen Hemminger <shemming@brocade.com>
Sat, 6 Aug 2016 17:14:06 +0000 (10:14 -0700)
commit9579afb24e9c56c6fc4c89e2e99fe4b3de304200
tree5de374df431e3275729258dc188f419f6826cb03
parente3d0f0c0e3d8ac6432884e19aefd169e5c4ae179
tc: Fix for missing estimator initialization

When switching to C99 initializers, I forgot to add this one. This means
that when trying to set an estimator value, tc would complain about
spurious duplicate estimator parameter. But much worse, the random
variable content is sent to the kernel regardless of whether an
estimator was given or not.

Fixes: d17b136f7d7dd ("Use C99 style initializers everywhere")
Reported-by: Stas Nichiporovich <stasn77@gmail.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
tc/tc_qdisc.c