svn commit: r304406 - stable/10/sys/dev/ntb/ntb_hw

Alexander Motin mav at FreeBSD.org
Thu Aug 18 11:01:28 UTC 2016


Author: mav
Date: Thu Aug 18 11:01:26 2016
New Revision: 304406
URL: https://svnweb.freebsd.org/changeset/base/304406

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

Modified:
  stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c
==============================================================================
--- stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c	Thu Aug 18 11:00:48 2016	(r304405)
+++ stable/10/sys/dev/ntb/ntb_hw/ntb_hw.c	Thu Aug 18 11:01:26 2016	(r304406)
@@ -2669,6 +2669,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