• Nicholas Bellinger's avatar
    target/iblock: Fix double bioset_integrity_free bug · d84287bc
    Nicholas Bellinger authored
    This patch fixes a double free bug during IBLOCK backend shutdown
    where bioset_integrity_free() was incorrectly called ahead of
    bioset_free(), who is already making the same call directly.
    
    This bug was introduced with commit ecebbf6c, and will end up
    triggering a general protection fault in iblock_free_device()
    Reviewed-by: default avatarSagi Grimberg <sagig@mellanox.com>
    Cc: Martin K. Petersen <martin.petersen@oracle.com>
    Cc: Or Gerlitz <ogerlitz@mellanox.com>
    Cc: Quinn Tran <quinn.tran@qlogic.com>
    Cc: Giridhar Malavali <giridhar.malavali@qlogic.com>
    Cc: <stable@vger.kernel.org> #3.14+
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    d84287bc
target_core_iblock.c 21.1 KB