CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/09/04 11:12:00
Modified files:
sys/net : bfd.c
Log message:
Refactor the code an fix a few issues by doing so.
- Use rt_key() instead of rt_gwroute / rt_gateway since bfd runs on host routes
- Fixup the timeout / task interaction a bit (still broken but better)
- fix panics in bfd_rtfree when calling soclose().
It is required to clear the upcall before calling soclose() because sorflush()
would be calling the upcall again which then results in a reenter panic.
- Simplify the mbuf dance a bit in bfd_send_control()
With and OK phessler@