Changeset 4f0f93f for lib


Ignore:
Timestamp:
12/14/17 11:11:12 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, dpdk-ndag, etsilive, master, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance
Children:
92cf299
Parents:
e54bd5f
Message:

Minor bug fixes for ndag:

  • Don't try to close the multicast socket if bind fails.
  • Make sure we exit the control channel thread if it we fail to join the multicast group.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_ndag.c

    r6452c2c r4f0f93f  
    231231                        "Failed to bind to multicast socket %s:%s -- %s\n",
    232232                                groupaddr, portstr, strerror(errno));
    233                 close(sock);
    234233                sock = -1;
    235234                goto sockcreateover;
     
    406405                        "Unable to join multicast group for nDAG control channel");
    407406                trace_interrupt();
     407                pthread_exit(NULL);
    408408        }
    409409
Note: See TracChangeset for help on using the changeset viewer.