diff options
author | Jayamohan Kallickal <[email protected]> | 2014-05-05 21:41:24 -0400 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-05-28 18:13:14 +0200 |
commit | daa8dc081cd801635b2757aa6f257a79d9ac6d2c (patch) | |
tree | dd7383719a53073ed57965a8bdb8286f21de6fbb /net/unix/af_unix.c | |
parent | e8e7f27139d5ba5b9f05fdee3f6224116ce8427c (diff) |
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 <[email protected]>
Signed-off-by: Jayamohan Kallickal <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions