net_sched: Fix stack info leak in cbq_dump_wrr().
authorDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2013 07:16:21 +0000 (00:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Aug 2013 22:38:44 +0000 (15:38 -0700)
commit565144e976ede82df899f30f9e7f8a9d210f60fe
tree51a8f3f4d32437b4fd9ed3b85d5ba7fead0bd794
parentd8c47c3fdc007ff3efecca98881e8e91eb088d70
net_sched: Fix stack info leak in cbq_dump_wrr().

[ Upstream commit a0db856a95a29efb1c23db55c02d9f0ff4f0db48 ]

Make sure the reserved fields, and padding (if any), are
fully initialized.

Based upon a patch by Dan Carpenter and feedback from
Joe Perches.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sched/sch_cbq.c