Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 01:57:53 +0000 (UTC)
From:      Tycho Nightingale <tychon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261000 - head/usr.sbin/bhyve
Message-ID:  <201401220157.s0M1vrqt085515@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tychon
Date: Wed Jan 22 01:57:52 2014
New Revision: 261000
URL: http://svnweb.freebsd.org/changeset/base/261000

Log:
  Fix issue with stale fields from a recycled request pulled off the freelist.
  
  Approved by:	grehan (co-mentor)

Modified:
  head/usr.sbin/bhyve/pci_ahci.c

Modified: head/usr.sbin/bhyve/pci_ahci.c
==============================================================================
--- head/usr.sbin/bhyve/pci_ahci.c	Wed Jan 22 01:56:49 2014	(r260999)
+++ head/usr.sbin/bhyve/pci_ahci.c	Wed Jan 22 01:57:52 2014	(r261000)
@@ -497,6 +497,8 @@ ahci_handle_flush(struct ahci_port *p, i
 	aior->cfis = cfis;
 	aior->slot = slot;
 	aior->len = 0;
+	aior->done = 0;
+	aior->prdtl = 0;
 	breq = &aior->io_req;
 
 	err = blockif_flush(p->bctx, breq);



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