Fixing FRR’s BFD daemon
Bugs I found and fixed in FRR’s bfdd, mostly while using it with xdp-bfd. Sixteen fixes are merged so far. One post covers all of them, and two of them have longer write-ups.
- bfdd losing sessions to a full buffer
With more than about 40 to 58 sessions, depending on config, bfdd silently lost sessions when it connected to a data plane, and lost delete messages when it shut down. Both came from the same 8KB buffer.
- bfdd dropping the data plane on a counters query
Every second time I ran "show bfd peers counters", bfdd dropped its connection to the data plane. Two small bugs in how it read replies added up to it.
- My fixes to FRR’s BFD daemon
Sixteen fixes to bfdd that have been merged into FRR so far. Most came from using bfdd with xdp-bfd, the rest from adding demand mode and authentication.