Files
linux/drivers
FUJITA Tomonori ea312552e9 [SCSI] sg: increase sglist_len of the sg_scatter_hold structure
unsigned short is too small for sizeof(struct scatterlist) *
min(q->max_hw_segments, q->max_phys_segments).

This fixes memory leak with 4096 segments since 16 (likely sg size
with x86) * 4096 sets sglist_len to zero.

This might not happen without sg chaining support.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-10-12 14:38:28 -04:00
..
2007-07-31 15:39:39 -07:00
…
2007-08-06 16:10:54 +01:00
2007-07-31 15:39:39 -07:00
2007-07-21 18:37:12 -07:00
2007-07-16 09:05:40 -07:00
…
…
…
2007-07-16 09:05:42 -07:00
2007-07-30 21:14:00 -04:00
2007-08-14 18:37:15 +02:00
2007-08-01 23:46:46 +02:00
…
2007-08-11 22:34:48 +02:00
2007-08-11 15:47:41 -07:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-07-29 16:53:59 -07:00
…
2007-07-31 15:39:44 -07:00
2007-08-11 15:47:42 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-07-26 11:11:57 -07:00
2007-07-26 11:35:17 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00