diff options
author | Jayamohan Kallickal <jayamohan.kallickal@emulex.com> | 2014-05-06 05:41:24 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-28 20:13:14 +0400 |
commit | daa8dc081cd801635b2757aa6f257a79d9ac6d2c (patch) | |
tree | dd7383719a53073ed57965a8bdb8286f21de6fbb /arch | |
parent | e8e7f27139d5ba5b9f05fdee3f6224116ce8427c (diff) | |
download | linux-daa8dc081cd801635b2757aa6f257a79d9ac6d2c.tar.xz |
be2iscsi: Fix retrieving MCCQ_WRB in non-embedded Mbox path
Getting WRB for MCCQ posting was done before looking if tag is
available or not. This lead to increase phba->ctrl.mcc_obj.q.used
variable and the WARN_ON message was coming from wrb_from_mccq().
Moved getting wrb from mccq after checking for the tag.
In wrb_from_mccq(), memset is done before returning wrb ptr.
Removed memset of mccq wrb from all other functions.
Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions