diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2009-09-23 04:51:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-23 11:35:54 -0400 |
commit | 6c6a22e26868285dc3dac280e0e57de029bfae1b (patch) | |
tree | e935672ad4533c449dc805b0ac298abbca0cadd4 /include/drm/ttm/ttm_module.h | |
parent | e31f7b96f0252e8da06df1bc7fd0f6dbc8cbec42 (diff) |
iwlagn: fix panic in iwl{5000,4965}_rx_reply_tx
In some cases firmware can give us bad value of index in transmit
buffers array. This patch add sanity check for such values and return
from processing function instantly when it happens.
https://bugzilla.redhat.com/show_bug.cgi?id=521931
Patch was tested by reporter on iwl5000. I think check can be also
helpful for 4965.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/drm/ttm/ttm_module.h')
0 files changed, 0 insertions, 0 deletions