diff options
author | 2011-04-07 21:09:57 +0200 | |
---|---|---|
committer | 2011-04-08 13:06:30 -0400 | |
commit | a6756da9eace8b4af73e9dea43f1fc2889224c94 (patch) | |
tree | 7f1ac79ad2de9f422119f45d723af9bf3eb7bd66 /tools/perf/scripts/python/syscall-counts.py | |
parent | ath9k: fix missing ath9k_ps_wakeup/ath9k_ps_restore calls (diff) | |
download | linux-dev-a6756da9eace8b4af73e9dea43f1fc2889224c94.tar.xz linux-dev-a6756da9eace8b4af73e9dea43f1fc2889224c94.zip |
p54: Initialize extra_len in p54_tx_80211
This patch fixes a very serious off-by-one bug in
the driver, which could leave the device in an
unresponsive state.
The problem was that the extra_len variable [used to
reserve extra scratch buffer space for the firmware]
was left uninitialized. Because p54_assign_address
later needs the value to reserve additional space,
the resulting frame could be to big for the small
device's memory window and everything would
immediately come to a grinding halt.
Reference: https://bugs.launchpad.net/bugs/722185
Cc: <stable@kernel.org>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Jason Conti <jason.conti@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions