svn commit: r261000 - head/usr.sbin/bhyve

Tycho Nightingale tychon at FreeBSD.org
Wed Jan 22 01:57:53 UTC 2014


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);


More information about the svn-src-head mailing list