svn commit: r239415 - stable/9/sys/dev/mps

Alexander Motin mav at FreeBSD.org
Mon Aug 20 12:09:02 UTC 2012


Author: mav
Date: Mon Aug 20 12:09:02 2012
New Revision: 239415
URL: http://svn.freebsd.org/changeset/base/239415

Log:
  MFC r238969:
  Fix kernel panic on `camcontrol reset` for specific target, caused by
  uninitialized cm_targ in mpssas_action_resetdev().

Modified:
  stable/9/sys/dev/mps/mps_sas.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/mps/mps_sas.c
==============================================================================
--- stable/9/sys/dev/mps/mps_sas.c	Mon Aug 20 12:07:10 2012	(r239414)
+++ stable/9/sys/dev/mps/mps_sas.c	Mon Aug 20 12:09:02 2012	(r239415)
@@ -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-9 mailing list