Skip to content
  • Witold Kręcicki's avatar
    Fix a possible race between udp dispatch and socket code · e517c18d
    Witold Kręcicki authored and Evan Hunt's avatar Evan Hunt committed
    There's a small possibility of race between udp dispatcher and
    socket code - socket code can still hold internal reference to a
    socket while dispatcher calls isc_socket_open, which can cause
    an assertion failure. Fix it by relaxing the assertion test, and
    instead simply locking the socket in isc_socket_open.
    e517c18d