target fixes for v3.4-rc2
Hi Linus,
Please go ahead and pull the following tcm_fc fabric related fixes for -rc2 here:
git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git 3.4-rc-fixes
This branch is based upon the following mainline HEAD:
commit dd775ae2549217d3ae09363e3edb305d0fa19928
Author: Linus Torvalds <[email protected]> Date: Sat Mar 31 16:24:09 2012 -0700
Linux 3.4-rc1
Note that both have been CC'ed to stable, and patch #1 is the important one that addresses a memory corruption bug related to FC exchange timeouts + command abort.
Thanks again to MDR for tracking down this issue!
--nab
Mark Rustad (2):
tcm_fc: Add abort flag for gracefully handling exchange timeout
tcm_fc: Do not free tpg structure during wq allocation failure
drivers/target/tcm_fc/tcm_fc.h | 1 + drivers/target/tcm_fc/tfc_cmd.c | 10 ++++++++-- drivers/target/tcm_fc/tfc_conf.c | 13 ++++++++----- drivers/target/tcm_fc/tfc_io.c | 2 ++ 4 files changed, 19 insertions(+), 7 deletions(-)