Navigation


Changeset 454:f1484823cb4a in freeDiameter for freeDiameter/routing_dispatch.c


Ignore:
Timestamp:
Jul 29, 2010, 4:11:12 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Small hack which might spear some concurrency problems and is quite harmless

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/routing_dispatch.c

    r403 r454  
    815815                /* Find the peer corresponding to this name */
    816816                CHECK_FCT( fd_peer_getbyid( qry_src, (void *) &peer ) );
     817                fd_cpu_flush_cache();
    817818                if ((!peer) || (peer->p_hdr.info.runtime.pir_state != STATE_OPEN)) {
    818819                        TRACE_DEBUG(INFO, "Unable to forward answer message to peer '%s', deleted or not in OPEN state.", qry_src);
     
    934935                CHECK_FCT( fd_peer_getbyid( c->diamid, (void *)&peer ) );
    935936
     937                fd_cpu_flush_cache();
    936938                if (peer && (peer->p_hdr.info.runtime.pir_state == STATE_OPEN)) {
    937939                        /* Send to this one */
Note: See TracChangeset for help on using the changeset viewer.