Jeff Mahoney
0f04cfd098
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>
2010-09-01 14:29:34 -07:00
..
2010-08-02 14:28:36 -05:00
2010-04-11 14:53:53 -07:00
2010-08-19 00:26:46 -07:00
2010-04-11 14:53:53 -07:00
2010-08-04 21:53:17 -07:00
2010-08-26 15:18:27 -07:00
2010-08-10 07:59:11 -04:00
2010-08-23 20:14:36 -07:00
2010-08-26 16:11:08 -07:00
2010-08-11 16:12:35 -07:00
2010-08-17 17:37:28 -07:00
2010-03-30 22:02:32 +09:00
2010-07-18 15:07:14 -07:00
2010-06-10 23:31:35 -07:00
2010-08-11 23:03:50 -07:00
2010-06-11 18:37:08 -07:00
2010-07-14 18:27:09 -07:00
2010-05-23 23:11:07 -07:00
2010-08-27 19:31:56 -07:00
2010-08-23 14:41:22 -07:00
2010-03-30 22:02:32 +09:00
2010-08-30 18:37:56 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-08-26 13:29:38 -07:00
2010-03-30 22:02:32 +09:00
2010-05-12 00:05:35 -07:00
2010-08-30 16:02:34 -04:00
2010-08-04 15:31:02 -07:00
2010-05-17 23:23:14 -07:00
2010-08-31 09:51:37 -07:00
2010-04-20 16:37:13 -07:00
2010-06-02 05:53:56 -07:00
2010-07-20 18:25:24 -07:00
2010-08-18 23:40:03 -07:00
2010-04-11 14:53:53 -07:00
2010-08-01 00:32:12 -07:00
2010-08-04 21:53:16 -07:00
2010-09-01 14:29:34 -07:00
2010-08-04 15:31:02 -07:00
2010-07-21 15:33:01 +10:00
2010-05-12 23:02:29 -07:00
2010-07-20 13:28:05 -07:00
2010-07-12 20:21:47 -07:00
2010-05-20 21:04:44 -07:00
2010-08-31 14:48:47 -04:00
2010-05-17 17:39:28 -07:00
2010-08-14 22:38:09 -07:00
2010-06-03 20:03:40 -07:00
2010-07-26 13:13:49 -07:00
2010-06-29 15:32:43 -07:00
2010-07-18 19:15:26 -07:00
2010-05-17 23:23:14 -07:00