Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net sched: fix kernel leak in act_police
While reviewing commit 1c40be1, 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 <[email protected]> Acked-by: Jeff Mahoney <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information