diff options
author | Neil Horman <[email protected]> | 2012-02-03 05:18:43 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-02-04 16:30:24 -0500 |
commit | 5962b35c1de3254a2f03b95efd3b7854b874d7b7 (patch) | |
tree | f085176f6441a32782294dccdd52336c58b0ba5f /tools/perf/scripts/python/sctop.py | |
parent | 1715322f3e0600b664fa8b780a07de104f49c104 (diff) |
netprio_cgroup: Fix obo in get_prioidx
It was recently pointed out to me that the get_prioidx function sets a bit in
the prioidx map prior to checking to see if the index being set is out of
bounds. This patch corrects that, avoiding the possiblity of us writing beyond
the end of the array
Signed-off-by: Neil Horman <[email protected]>
Reported-by: Stanislaw Gruszka <[email protected]>
CC: Stanislaw Gruszka <[email protected]>
CC: "David S. Miller" <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions