commit | 6c6a22e26868285dc3dac280e0e57de029bfae1b | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <sgruszka@redhat.com> | Wed Sep 23 10:51:34 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Sep 23 11:35:54 2009 -0400 |
tree | e935672ad4533c449dc805b0ac298abbca0cadd4 | |
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>