svn commit: r239416 - stable/8/sys/dev/mps
Alexander Motin
mav at FreeBSD.org
Mon Aug 20 12:11:10 UTC 2012
Author: mav
Date: Mon Aug 20 12:11:09 2012
New Revision: 239416
URL: http://svn.freebsd.org/changeset/base/239416
Log:
MFC r238969:
Fix kernel panic on `camcontrol reset` for specific target, caused by
uninitialized cm_targ in mpssas_action_resetdev().
Modified:
stable/8/sys/dev/mps/mps_sas.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/dev/ (props changed)
Modified: stable/8/sys/dev/mps/mps_sas.c
==============================================================================
--- stable/8/sys/dev/mps/mps_sas.c Mon Aug 20 12:09:02 2012 (r239415)
+++ stable/8/sys/dev/mps/mps_sas.c Mon Aug 20 12:11:09 2012 (r239416)
@@ -3003,6 +3003,7 @@ mpssas_action_resetdev(struct mpssas_sof
tm->cm_desc.HighPriority.RequestFlags = MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY;
tm->cm_complete = mpssas_resetdev_complete;
tm->cm_complete_data = ccb;
+ tm->cm_targ = targ;
mps_map_command(sc, tm);
}
More information about the svn-src-stable
mailing list