This is an alternative to r340413 that does not break the KBI. We have
users hitting the bug on 12.0, and the patch D17996 solves the problem.
Details
Details
- Reviewers
glebius • hselasky - Commits
- rS345764: Fix if_(m)addr_rlock().
One stf(4) user was hitting memory corruption panics that have gone
away with this patch applied to stable/12.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/net/if_var.h | ||
---|---|---|
385 ↗ | (On Diff #55624) | We have to replace these with padding to preserve the KBI. |
Comment Actions
Mark, do you suppose that this can fix some another strange panics that appeared after epochification?
Comment Actions
It's hard to say without more info. The two cases I saw were indeed "strange": one panic in kevent, and one in the pfil hooks. Note that the problem applies only to stable/12, the bug has been fixed in head for a few months.
Comment Actions
Note, this was without INVARIANTS. With INVARIANTS enabled we saw an assertion failure in the epoch code.