lbgroup hash table lookups are protected by epoch sections, but the hash
chains are regular LISTs instead of CK_LISTs. We also were not
deferring frees of inpcblbgroups.
Details
Details
- Reviewers
sbruno mmacy johalun0_gmail.com - Group Reviewers
network - Commits
- rS338571: Fix synchronization of LB group access.
Regression test in D17110.
gallatin tested the patch on a box at Netflix.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Yeah, CK work was committed soon after so_reuseport_lb was merged so this was missed. Thanks for fixing!
Comment Actions
FWIW, as I mentioned in private email, the testing went fine. I verified that there were no apparent mem leaks, and that in_pcblbgroup_free_deferred() was called when I bounced nginx several times on a heavily loaded (> 90Gb/s) box.
Comment Actions
Indeed, thanks. I also wrote some regression tests; see D17110. I submitted this diff to re@ already.