diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-06-19 07:09:27 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-10 06:03:32 (GMT) |
commit | 32eef964110985c5845472e07fa0a18838a970c4 (patch) | |
tree | 69a96d9757c72800e3d6479927e00316a4483361 /net/mac80211/tkip.c | |
parent | 7deeed13170e634adc4552ff94588d6301a3da83 (diff) | |
download | linux-fsl-qoriq-32eef964110985c5845472e07fa0a18838a970c4.tar.xz |
blk_hw_contig_segment(): bad segment size checks
Two bugs in there:
- The virt oversize check should use the current bio hardware back
size and the next bio front size, not the same bio. Spotted by
Neil Brown.
- The segment size check should add hw front sizes, not total bio
sizes. Spotted by James Bottomley
Acked-by: James Bottomley <James.Bottomley@SteelEye.com>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'net/mac80211/tkip.c')
0 files changed, 0 insertions, 0 deletions