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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2013 07:16:21 +0000 (00:16 -0700)
commita0db856a95a29efb1c23db55c02d9f0ff4f0db48
treeebd37821f7a9ea080e0319b7e30df3098e67e851
parent7e44892c1b6bb499cb2f6d5c0f4afcc077a26074
net_sched: Fix stack info leak in cbq_dump_wrr().

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>
net/sched/sch_cbq.c