No sleeping allowed here, so avoid it. Collect the subset of data we
want inside of the epoch, as we'll need extra allocations when we add
items to the nvlist.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/if_wg/module/module.c | ||
---|---|---|
74 | Stole from the r_public member of struct noise_remote that we're copying into here; the distinction doesn't seem to make much sense to me, as we do use them interchangeably elsewhere (see: noise_local_keys() definition then usage over in wg_cloneattach()). I'll switch it over to WG_KEY_SIZE, though. | |
434–436 | Whoops, brain-o; will fix to stop at exp->aip_count and update it after. |