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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to