[SCSI] bfa: off by one in bfa_ioc_mbox_isr()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 27 Jun 2012 08:59:36 +0000 (11:59 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:58:37 +0000 (08:58 +0100)
commitfffa69230b7bbfc62d8cfb515c3e658224a0f88c
tree6262e3adfbd29308650c46f529888d4bf5b5d464
parent9e1a15376bce2fc7746145eb8ee78a3674658bc8
[SCSI] bfa: off by one in bfa_ioc_mbox_isr()

If mc == BFI_MC_MAX then we're reading past the end of the
mod->mbhdlr[] array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_ioc.c