diff options
author | Jeff Mahoney <jeffm@suse.com> | 2010-08-31 13:21:42 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-01 14:29:34 -0700 |
commit | 0f04cfd098fb81fded74e78ea1a1b86cc6c6c31e (patch) | |
tree | cec4306a238658123aaba429a7cdb679c8deb801 /drivers/net/pxa168_eth.c | |
parent | 78b620ce9e168d08ecfac2f4bb056c511b0601ec (diff) | |
download | kernel-common-0f04cfd098fb81fded74e78ea1a1b86cc6c6c31e.tar.gz kernel-common-0f04cfd098fb81fded74e78ea1a1b86cc6c6c31e.tar.bz2 kernel-common-0f04cfd098fb81fded74e78ea1a1b86cc6c6c31e.zip |
net sched: fix kernel leak in act_police
While reviewing commit 1c40be12f7d8ca1d387510d39787b12e512a7ce8, I
audited other users of tc_action_ops->dump for information leaks.
That commit covered almost all of them but act_police still had a leak.
opt.limit and opt.capab aren't zeroed out before the structure is
passed out.
This patch uses the C99 initializers to zero everything unused out.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pxa168_eth.c')
0 files changed, 0 insertions, 0 deletions