The only caller udp_send() has already entered net epoch before invoking
udp_v4mapped_pktinfo().
No functional change intended.
This partially reverts commit d74b7baeb0d4 (ifnet_byindex() actually
requires network epoch).
MFC after: 1 week
Differential D49227
udp: Do not recursively enter net epoch zlei on Tue, Mar 4, 9:51 AM. Authored by Tags None Referenced Files
Details
The only caller udp_send() has already entered net epoch before invoking No functional change intended. This partially reverts commit d74b7baeb0d4 (ifnet_byindex() actually MFC after: 1 week
Diff Detail
Event TimelineComment Actions Didn't do a full examination of all stacks, the change by itself should be correct. If any code path triggers the new assertion, that path needs to be fixed. Comment Actions I noticed this while checking the usage of IN6_IS_ADDR_UNSPECIFIED(). There're still some, notably bpf(4). Well that has been in WIP for quite a long time. I started that when I was working on D39275. I'll post when ready. |