diff freeDiameter/p_out.c @ 454:f1484823cb4a

Small hack which might spear some concurrency problems and is quite harmless
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 29 Jul 2010 16:11:12 +0900
parents 5df55136361b
children 7250e91f0662
line wrap: on
line diff
--- a/freeDiameter/p_out.c	Thu Jul 29 15:32:08 2010 +0900
+++ b/freeDiameter/p_out.c	Thu Jul 29 16:11:12 2010 +0900
@@ -142,6 +142,7 @@
 	TRACE_ENTRY("%p %p %p %x", msg, cnx, peer, flags);
 	CHECK_PARAMS( msg && *msg && (cnx || (peer && peer->p_cnxctx)));
 	
+	fd_cpu_flush_cache();
 	if (peer && (peer->p_hdr.info.runtime.pir_state == STATE_OPEN)) {
 		/* Normal case: just queue for the out thread to pick it up */
 		CHECK_FCT( fd_fifo_post(peer->p_tosend, msg) );
"Welcome to our mercurial repository"