After rS334671 encapsulated traffic always handled in net_epoch_preempt section.
In case, when TCP session uses IP addresses configured on tunneling interfaces and INVARIANTS is enabled, INP_INFO_UNLOCK_ASSERT() fires.
This patch relaxes requirements for this assertion by removing !in_epoch(net_epoch_preempt). New macro INP_INFO_WUNLOCK_ASSERT() added, it only requires that tcbinfo mutex is not owned.
Details
Details
- Reviewers
rrs mmacy tuexen - Group Reviewers
transport - Commits
- rS339039: Add INP_INFO_WUNLOCK_ASSERT() macro and use it instead of
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable