diff options
author | 2007-05-04 01:52:51 +0000 | |
---|---|---|
committer | 2007-05-04 01:52:51 +0000 | |
commit | ee88a45f175484edbfc4f3d75957d3307aa3c985 (patch) | |
tree | 61b9877cc70d19e695db69e703c32bfae33fd023 /sys/kern/subr_disk.c | |
parent | sync (diff) | |
download | wireguard-openbsd-ee88a45f175484edbfc4f3d75957d3307aa3c985.tar.xz wireguard-openbsd-ee88a45f175484edbfc4f3d75957d3307aa3c985.zip |
do not call vic_init() on ENETRESET in the ioctl handler, use
vic_iff() instead. vic_init() calls vic_init_data() which sets up the
rings and allocates the dma maps. it could happen that vic_init() was
called for multiple times without releasing them first by calling
vic_uninit_data(). ouch! this may have caused some problems related to
dmamap corruption but we'll do further investigation.
ok dlg@
Diffstat (limited to 'sys/kern/subr_disk.c')
0 files changed, 0 insertions, 0 deletions