svn commit: r239418 - releng/9.1/sys/dev/mps

Alexander Motin mav at FreeBSD.org
Mon Aug 20 12:53:30 UTC 2012


Author: mav
Date: Mon Aug 20 12:53:29 2012
New Revision: 239418
URL: http://svn.freebsd.org/changeset/base/239418

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

Modified:
  releng/9.1/sys/dev/mps/mps_sas.c
Directory Properties:
  releng/9.1/sys/   (props changed)
  releng/9.1/sys/dev/   (props changed)

Modified: releng/9.1/sys/dev/mps/mps_sas.c
==============================================================================
--- releng/9.1/sys/dev/mps/mps_sas.c	Mon Aug 20 12:17:42 2012	(r239417)
+++ releng/9.1/sys/dev/mps/mps_sas.c	Mon Aug 20 12:53:29 2012	(r239418)
@@ -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-all mailing list