svn commit: r238969 - head/sys/dev/mps
Alexander Motin
mav at FreeBSD.org
Wed Aug 1 12:24:14 UTC 2012
Author: mav
Date: Wed Aug 1 12:24:13 2012
New Revision: 238969
URL: http://svn.freebsd.org/changeset/base/238969
Log:
Fix kernel panic on `camcontrol reset` for specific target, caused by
uninitialized cm_targ in mpssas_action_resetdev().
Reviewed by: Desai, Kashyap <Kashyap.Desai at lsi.com>
Sponsored by: iXsystems, Inc.
MFC after: 3 days
Modified:
head/sys/dev/mps/mps_sas.c
Modified: head/sys/dev/mps/mps_sas.c
==============================================================================
--- head/sys/dev/mps/mps_sas.c Wed Aug 1 09:10:21 2012 (r238968)
+++ head/sys/dev/mps/mps_sas.c Wed Aug 1 12:24:13 2012 (r238969)
@@ -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-head
mailing list