diff options
| author | Zhu Yi <[email protected]> | 2009-10-23 13:42:25 -0700 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2009-10-27 16:50:01 -0400 |
| commit | 29b1b2688fd71346f78f175d9669c006686b6dc3 (patch) | |
| tree | 8d7a337761cc88dae60f4d5e44eb5fd9fbe53858 /tools/perf/scripts/python | |
| parent | 52aa081c40324ecb04a47864e4e56dafc5a72a34 (diff) | |
iwlwifi: fix use after free bug for paged rx
In the paged rx patch (4854fde2), I introduced a bug that could possibly
touch an already freed page. It is fixed by avoiding the access in this
patch. I've also added some comments so that other people touching the
code won't make the same mistake. In the future, if we cannot avoid
access the page after being handled to the upper layer, we can use
get_page/put_page to handle it. For now, it's just not necessary.
It also fixed a debug message print bug reported by Stanislaw Gruszka
<[email protected]>.
Signed-off-by: Zhu Yi <[email protected]>
Signed-off-by: Reinette Chatre <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions