diff options
author | Eric Dumazet <[email protected]> | 2012-07-08 21:45:10 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-07-09 14:50:54 -0700 |
commit | 91c68ce2b26319248a32d7baa1226f819d283758 (patch) | |
tree | eeeea052a0b13d2f97435fe33caa5139e4729a53 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 96ca7ffe748bf91f851e6aa4479aa11c8b1122ba (diff) |
net: cgroup: fix out of bounds accesses
dev->priomap is allocated by extend_netdev_table() called from
update_netdev_tables().
And this is only called if write_priomap() is called.
But if write_priomap() is not called, it seems we can have out of bounds
accesses in cgrp_destroy(), read_priomap() & skb_update_prio()
With help from Gao Feng
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Neil Horman <[email protected]>
Cc: Gao feng <[email protected]>
Acked-by: Gao feng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions