Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 12:09:02 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r239415 - stable/9/sys/dev/mps
Message-ID:  <201208201209.q7KC92Zl031819@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208201209.q7KC92Zl031819>