]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] iscsi class: fix slab corruption during restart
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 16 Oct 2006 22:09:38 +0000 (18:09 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:13:48 +0000 (15:13 -0700)
commitaba64ba1f521e16a07c0d2e492278fa8861c82b5
tree69237a72b2a6ea556c0e6fe1aff392b2a23f3770
parent0b4abf27108d9491f9c27075c4196dd90402bde2
[SCSI] iscsi class: fix slab corruption during restart

The transport class recv mempools are causing slab corruption.
We could hack around netlink's lack of mempool support like dm,
but it is just too ulgy (dm's hack is ugly enough :) when you need
to support broadcast.

This patch removes the recv pools. We have not used them even when
we were allocting 20 MB per session and the system only had 64 MBs.
And we have no pools on the send side and have been ok there. When
Peter's work gets merged we can use that since the network guys
are in favor of that approach and are not going to add mempools
everywhere.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_transport_iscsi.h