Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 12:11:09 +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-8@freebsd.org
Subject:   svn commit: r239416 - stable/8/sys/dev/mps
Message-ID:  <201208201211.q7KCB945032131@svn.freebsd.org>

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



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