Navigation


Changeset 454:f1484823cb4a in freeDiameter for freeDiameter/p_ce.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/p_ce.c

    r403 r454  
    613613       
    614614        /* Are we doing an election ? */
     615        fd_cpu_flush_cache();
    615616        if (peer->p_hdr.info.runtime.pir_state == STATE_WAITCNXACK_ELEC) {
    616617                if (election_result(peer)) {
     
    661662       
    662663        /* If the state is not WAITCEA, just discard the message */
     664        fd_cpu_flush_cache();
    663665        if (req || (peer->p_hdr.info.runtime.pir_state != STATE_WAITCEA)) {
    664666                if (*msg) {
     
    922924int fd_p_ce_handle_newCER(struct msg ** msg, struct fd_peer * peer, struct cnxctx ** cnx, int valid)
    923925{
     926        fd_cpu_flush_cache();
    924927        switch (peer->p_hdr.info.runtime.pir_state) {
    925928                case STATE_CLOSED:
Note: See TracChangeset for help on using the changeset viewer.