comparison freeDiameter/p_dw.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
comparison
equal deleted inserted replaced
453:9a8b3178a7a7 454:f1484823cb4a
120 if (reset_tmr) { 120 if (reset_tmr) {
121 fd_psm_next_timeout(peer, 1, peer->p_hdr.info.config.pic_twtimer ?: fd_g_config->cnf_timer_tw); 121 fd_psm_next_timeout(peer, 1, peer->p_hdr.info.config.pic_twtimer ?: fd_g_config->cnf_timer_tw);
122 } 122 }
123 123
124 /* If we are in REOPEN state, increment the counter */ 124 /* If we are in REOPEN state, increment the counter */
125 fd_cpu_flush_cache();
125 if (peer->p_hdr.info.runtime.pir_state == STATE_REOPEN) { 126 if (peer->p_hdr.info.runtime.pir_state == STATE_REOPEN) {
126 peer->p_flags.pf_reopen_cnt += 1; 127 peer->p_flags.pf_reopen_cnt += 1;
127 128
128 if (peer->p_flags.pf_reopen_cnt) { 129 if (peer->p_flags.pf_reopen_cnt) {
129 /* Send a new DWR */ 130 /* Send a new DWR */
"Welcome to our mercurial repository"