Revision 864f52a5

View differences:

proto/bfd/bfd.c
477 477
{
478 478
  ip_addr ip = s->addr;
479 479

  
480
  /* Caller should ensure that request list is empty */
481

  
480 482
  birdloop_enter(p->loop);
481 483

  
484
  /* Remove session from notify list if scheduled for notification */
485
  /* No need for bfd_lock_sessions(), we are already protected by birdloop_enter() */
486
  if (NODE_VALID(&s->n))
487
    rem_node(&s->n);
488

  
482 489
  bfd_free_iface(s->ifa);
483 490

  
484 491
  rfree(s->tx_timer);

Also available in: Unified diff