svn commit: r303510 - head/sys/dev/ntb/ntb_hw

Alexander Motin mav at FreeBSD.org
Fri Jul 29 20:52:19 UTC 2016


Author: mav
Date: Fri Jul 29 20:52:18 2016
New Revision: 303510
URL: https://svnweb.freebsd.org/changeset/base/303510

Log:
  Clear scratchpad after MSIX negotiation to not leak garbage.

Modified:
  head/sys/dev/ntb/ntb_hw/ntb_hw.c

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw.c	Fri Jul 29 20:51:52 2016	(r303509)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw.c	Fri Jul 29 20:52:18 2016	(r303510)
@@ -2649,6 +2649,7 @@ msix_done:
 	if (val != NTB_MSIX_RECEIVED)
 		goto reschedule;
 
+	intel_ntb_spad_clear(ntb->device);
 	ntb->peer_msix_good = true;
 	/* Give peer time to see our NTB_MSIX_RECEIVED. */
 	goto reschedule;


More information about the svn-src-all mailing list