Mercurial > hg > freeDiameter
comparison freeDiameter/p_dp.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 | 26aafbbc1640 |
children |
comparison
equal
deleted
inserted
replaced
453:9a8b3178a7a7 | 454:f1484823cb4a |
---|---|
111 /* Reset the timer for next connection attempt -- we'll retry sooner or later depending on the disconnection cause */ | 111 /* Reset the timer for next connection attempt -- we'll retry sooner or later depending on the disconnection cause */ |
112 fd_psm_next_timeout(peer, 1, delay); | 112 fd_psm_next_timeout(peer, 1, delay); |
113 | 113 |
114 } else { | 114 } else { |
115 /* We received a DPA */ | 115 /* We received a DPA */ |
116 fd_cpu_flush_cache(); | |
116 if (peer->p_hdr.info.runtime.pir_state != STATE_CLOSING) { | 117 if (peer->p_hdr.info.runtime.pir_state != STATE_CLOSING) { |
117 TRACE_DEBUG(INFO, "Ignoring DPA received in state %s", STATE_STR(peer->p_hdr.info.runtime.pir_state)); | 118 TRACE_DEBUG(INFO, "Ignoring DPA received in state %s", STATE_STR(peer->p_hdr.info.runtime.pir_state)); |
118 } | 119 } |
119 | 120 |
120 /* In theory, we should control the Result-Code AVP. But since we will not go back to OPEN state here anyway, let's skip it */ | 121 /* In theory, we should control the Result-Code AVP. But since we will not go back to OPEN state here anyway, let's skip it */ |